Can you submit a form to a function?

wxdqz

New Member
Hi,

Is there any way to define a form's Action so that the form is handled by a javascript function within the page rather than an external link? I know the following doesn't work (and probably doesn't make sense) but it is kinda what I'm trying to achieve.

<form action="myFunction(document.myForm)" method=get/put? name="myForm">
blah blah blah
</form>

Thanks for looking

D.
 
Back
Top