2008年7月15日 星期二

Run JavaScript Checking before Submit form

it will submit the form directly and skip the javascript checking....

< href="javascript:if(onSubmit()){document.RcwOutputFileForm.submit();}">
< type="image" src="/images/continue_button.gif">



it need use <> to replace it...then the javascrip can run correctly

< href="javascript:if(onSubmit()){document.RcwOutputFileForm.submit();}">
< src="/images/continue_button.gif">

沒有留言: