Answers for "form submit jquery function"

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