I've written a JavaScript validation routine which seems to work
correctly, returning true or false as appropriate. However, when I call
it with onvalidate from within a CFINPUT statement, I always get a
'function expected' JavaScript error after it returns. Am I doing
something wrong?
Here's my code:
<cfinput type="text" name="memberPrice_#mycounter#" size="15"
onvalidate="validatePrice(document.forms[0].memberPrice_1.value,'a','b',
'c')">
Any advice greatly appreciated.
Malcolm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists