using Jquery to automatically submit form

后端 未结 5 2369
粉色の甜心
粉色の甜心 2021-02-20 09:41

I am trying to submit a form by using jquery automatically after page load

$(function(){

$(\"input[name=name]\").val(\"somename\");
$(\"input[name=email]\").val         


        
5条回答
  •  轮回少年
    2021-02-20 10:19

    ok i found out the problem

    apparently the submit input cannot have the name submit

    
    

    changed to

    
    

    and that got the problem fixed

提交回复
热议问题