I want to add 5 minute countdown timer which submit a form to my php page.
setTimeout() will fire a function SubmitForm after 300000 milliseconds = 5 minutes.
setTimeout()
SubmitForm
300000
function SubmitForm(){ $("form").submit(); }; setTimeout(SubmitForm,300000);//5*60*1000