A
Anonymous
Guest
How to call a fuction whenever a submit button is lickd
I want to know rthe syntax..
Please help !!!
Vikaspa
I want to know rthe syntax..
Please help !!!
Vikaspa
<form name="form2" action="function()" method="POST">
This is *not* a way to run an PHP-function. I'm not a javascript programmer, but I believe that this will call a javascript function.shufty said:well if its in a form then request the function in the form actionCode:<form name="form2" action="function()" method="POST">
that should work
You can't call a PHP function directly from a form, but you can call a javascript function (and use this javascript function to perhaps open a PHP page with the required variables etc).vikaspa said:How to call a fuction whenever a submit button is lickd
I want to know rthe syntax..
Please help !!!
Vikaspa