|
The best solution is to place the forms on a seperate page from the scripts.
Alot of scripts use: action=\"$PHP_SELF\", or for html: action="<?PHP_SELF?>"
Instead it's wise to use: action=\"location-to-scipt\" or
for html: action="location-to-scipt"
----------------------------------------------------------------------------------------
could use java
<script language:"javaScript">
function hideMybutton(){
var myForm = document.formName;
myForm.mySubmitbutton.style.visibility="hidden";
alert("The Form has been sent please wait");
}
</script>
add this: onClick="hideMybutton();" name="mySubmitbutton" to your button
ie:
<input type="button" value=" submit " onClick="hideMybutton();" name="mySubmitbutton">
Last edited by helloworld; 07-06-2006 at 03:34 AM..
|