I have web page that submits a form that uses AJAX to load the results in a DIV.
The page uses this : http://www.aleixcortadellas.com/main/2009/03/01/ajax-post/ Is there any way this can be adapted to auto submit the form on page load ??
eg.. if I pass a value to the web page via the URL it auto submits the form..
Is that possible ??
Thanks 🙂
Sorted using:
<script type="text/javascript" language="javascript"> function submitform(){ formget(myForm, 'do.php'); } </script>
<body onload='submitform()'>
You should drop the language attribute.