Hi Uwe,
could be something like:
<INPUT TYPE="button" VALUE="SUBMIT" onclick="return something(this.form);">
And:
function something(form) {
if .... return true;
else return false;
}
UD> Hi list,
UD> at the end of a form I have:
UD> <INPUT TYPE="submit" VALUE="SUBMIT" onclick="something(this.form)">
UD> but I need a
UD> <INPUT TYPE="button" VALUE="SUBMIT" onclick="something(this.form)">
UD> to let a JS-routine run, which is further up.
UD> But I want to pass values to a action script.
UD> So is there a way to only let the form submit parameters
UD> if the onclick-routine is passed ?
UD> Thanks for ideas.
UD> Uwe
--
Patric Stumpe
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm