i tried using sessions..
i set a sessions variable to 1 if the form data was submitted.
i check if the the variable is one on the concerned page and if it is i call a function which disables the submit button. but this doesnt work either. any thoughts about this?
heres the code
<?php
if($_SESSION['disable']==1){
echo "<script type="text/javascript"> disablesbmt(); </script>";
}
?>