Topic: Passing an array of objects argument in an eval statement |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole i |
![]() ![]() ![]() ![]() Is it possible to pass an array of objects as an argument in an eval statement in Javascript? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() ![]() ![]() ![]() |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole i |
![]() ![]() ![]() ![]() Well I guess what I'm trying to do is *ahem* abstract out some functionality (yes I know JS does not actally support this), but I'm making a component of sorts and I've added some extra non-standard not in the DTD tags into the mix. (yes, a-list-apart also said these were uncharted waters...) but the article they had on it was about the only way I could do what I needed to do. |
Maniac (V) Inmate From: Sthlm, Sweden |
![]() ![]() ![]() ![]() Home made attributes in a form element can be reached by js just as any other attributes. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() ![]() ![]() ![]() That still doesn't really explain the eval |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() ![]() ![]() ![]() Heh, I always reply to these things and then forget about them until days later. |