OrthoDocSoft
Programmer
Folks,
I have a webpage with a "submit" button, which calls an .asp script and runs it. It works fine. Now I'm trying to create a similar one, but instead of "running" the script on clicking "submit", the form tries to "download" it! This is some of my code:
this is the code for the "submit" button itself:
the script I'm trying to run is in a sub-folder named "aspawd" and the script is named as you see it above. The line runs a "validate" javascript before taking action to verify all the form data.
Does anyone know what I am doing wrong? The structure appears identical to the first form I made which works well. I can't figure this out.
Thanks for helping a newbie
Ortho
"you cain't fix 'stupid'...
I have a webpage with a "submit" button, which calls an .asp script and runs it. It works fine. Now I'm trying to create a similar one, but instead of "running" the script on clicking "submit", the form tries to "download" it! This is some of my code:
Code:
<form Name="trial" Method=Post Action="aspawd/downloadtrialawd.asp" onSubmit="return validate();">
this is the code for the "submit" button itself:
Code:
<input type="submit" name="trialb" value="Download it!" onmouseover="this.className='buttonon'" onmouseout="this.className='button'" class="button"><br>
the script I'm trying to run is in a sub-folder named "aspawd" and the script is named as you see it above. The line runs a "validate" javascript before taking action to verify all the form data.
Does anyone know what I am doing wrong? The structure appears identical to the first form I made which works well. I can't figure this out.
Thanks for helping a newbie
Ortho
"you cain't fix 'stupid'...