Entry
How do I strip the x=?? and y=?? from a form posted with an image submit?
Feb 4th, 2004 14:53
Chris Seeberger, Stuart Middleton,
Create a JS method which disables the Image Button on Submit:
<script language="JavaScript" type="text/javascript">
<!--
function disableSubmitImage() {
if(document.getElementById("SubmitImage")){
document.getElementById("SubmitImage").disabled = "true";
}
}
//-->
</script>
<form action="#URL#" method="get" name="Form"
onSubmit="disableSubmitImage()">
<input type="Image" src="#URL#" name="SubmitImage">
</form>