Obtain dates with JavaScript before AJAX request

后端 未结 3 1471
误落风尘
误落风尘 2021-01-29 11:47

I have this AJAX request:

function request(str){
    

        
3条回答
  •  囚心锁ツ
    2021-01-29 12:28

    I think this code is broken:

    
    

    Not sure that this will totally fix it but I think this is the right syntax:

    
    

    I don't think this will solve your problem though but that syntax you were using wasn't formed right. I think instead of calling the function like this:

    form();
    

    You may also be interested in looking at .trigger() or .call(), I also looked at the jquery documentation and I have never seen .button(), what is that for?

提交回复
热议问题