Suppose,there are multiple submission form in a same web page. I would like to call javascript function written in respective datapage whenever the 'SUBMIT' button in clicked on each datapage. I tried using document.getElementById("caspioform").onsubmit=function(){....} in all the datapage's footer for calling my javascript. But it is not working...Is this not the correct way ???
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Aariel
Suppose,there are multiple submission form in a same web page. I would like to call javascript function written in respective datapage whenever the 'SUBMIT' button in clicked on each datapage. I tried using document.getElementById("caspioform").onsubmit=function(){....} in all the datapage's footer for calling my javascript. But it is not working...Is this not the correct way ???
appreciate your help.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.