Step-1 :
Add below code into your <head> section. and change the form id as per your <form> tag.
<script type="text/javascript" language="javascript">
function submitform(){
document.getElementById('myForm').submit();
}
</script>
Step-2 :
Add onload event in to body tag as per below.
<body onload="submitform()">
</body>
No comments:
Post a Comment