+ 2
How can i autosubmit a from after 4 sec of page load
i want to autosubmit some data after the 4 or5 sec of the page load the autosubmit process by javascript or php please say me the code
1 Resposta
+ 1
Hi. You can add this code to your page:
document.addEventListener('DOMContentLoaded', () => {
setTimeout( () => {
// With jquery
$('#form').submit();
}, 5000)
})