PDA

Click to See Complete Forum and Search --> : href onClick submit help


nkad
Feb 12th, 2001, 09:55 PM
I want to have a link submit a form contents but i dont know how... i figure somthing like...
<a href=" " onClick="submitUpdate(); return false">click me</a>

but this doesn't work.. Any ideas?

Thx.

Psyrus
Feb 12th, 2001, 11:35 PM
You might try this:

<a HREF = "javascript:void frmName.submit();">click me</a>

Where frmName is the name of your form.