html - Once form is submit on the same page, its not submitting again using jquery until i refresh page -
i trying submit form on same page using jquery. when form submitted , again try submit failed. , when refresh page , submit works fine. whats problem?
$('#csvfile').change(function(){ $("#senderinfoform").submit(); });
this code use trigger submit form in .change()
$('#csvfile').on('change',function(){ $('#senderinfoform').trigger('submit'); });
be sure #senderinfoform form id not submit button id .. , submit form
$('#senderinfoform').on('submit',function(){ // code here });
Comments
Post a Comment