开发者

I'm using Jquery countdown for a timer

开发者 https://www.devze.com 2022-12-29 10:43 出处:网络
I need the form to be submitted at the end of the count down. I 开发者_运维百科am aware of expiryURL, but the form doesnt get processed. Can someone help?

I need the form to be submitted at the end of the count down. I 开发者_运维百科am aware of expiryURL, but the form doesnt get processed. Can someone help?

Thanks!


Here's a way with just a combination of classic javascript with jQuery:

$(function() {
   setTimeout($("#myForm").submit(), 60 * 100);
});

This will trigger every 60 seconds (60 seconds * 100 = milliseconds), submitting the form.

HTH

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号