I am not getting the difference between the action and onsubmit tags of the form in html.
<form method=GET action="xyz.php" onsubmit="return xyz()">
my problem is "which will be called when" and limitations of each tag.Kindly Help....:(
I am not getting the difference between the action and onsubmit tags of the form in html.
<form method=GET action="xyz.php" onsubmit="return xyz()">
my problem is "which will be called when" and limitations of each tag.Kindly Help....:(
onsubmit is called first. If this returns false, the form will not be submitted to the page specified in action.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.