If I have a function called submitAction() with no variables, can I get any information from the form, like the ID or name of the form if the function is in the "onsubmit" event?
Secondly, if I have a function submitAction() and attach it to the onClick event of a link, can I obtain information about that link like the ID or anything, without actually putting variables into the function reference? (like submitAction('var1','var2'))
Secondly, if I have a function submitAction() and attach it to the onClick event of a link, can I obtain information about that link like the ID or anything, without actually putting variables into the function reference? (like submitAction('var1','var2'))