[UPHPU] submitting a form with javascript, dynamic form name
Wade Preston Shearer
wadeshearer.lists at me.com
Wed Jul 8 18:56:21 MDT 2009
I am submitting a form with javascript like this…
document.formname.submit();
I need the name of the form to be a variable though. Is that possible?
Meaning, that "formname" should be a variable instead of the actual
name of the form.
I tried…
document. + formname + .submit();
…but that didn't work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090708/cb6a14e1/smime.bin
More information about the UPHPU
mailing list