[UPHPU] simple array question javascript question

Wade Preston Shearer wadeshearer.lists at me.com
Mon Jul 12 21:49:11 MDT 2010


On 12 Jul 2010, at 21:05, Wade Preston Shearer wrote:

> In Merrill's example, his input field didn't have an ID, so staying true to his code, I was unable to access it by ID. And, since the name is an array collection, I'm not sure how to access it by name directly. Is there a way?

I ran a test to check it (with the help of #uphpu to discover a syntax error I missed) and discovered that javascript does support the "name array hack":

http://pastie.org/1041962


(although I haven't tested it in IE or Opera)


More information about the UPHPU mailing list