Answers for "is a submit button need to submit form jquery"

3

put form action jquery

$('#button1').click(function(){
   $('#formId').attr('action', 'page1');
});


$('#button2').click(function(){
   $('#formId').attr('action', 'page2');
});
Posted by: Guest on November-03-2020
3

when a form is subbmited jquery

$("#myform").submit(function(e) {
 })
Posted by: Guest on July-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language