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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to