Groups | Blog | Home
all groups > coldfusion flash integration > june 2006 >

coldfusion flash integration : Using onClick Javascript in cfinput


JMD1
6/5/2006 3:37:57 PM
I hope someone out here can help me with this problem:

I'm using Flash forms in CFMX7, and have a button (type="button") that I want
to jump to a different template, as opposed to the cffom's action template.
Problem is that when I include the onClick property and set it equal to the
javascript "window.location='newtemplate.cfm'", the flash form fails to load.

Here is the cfinput tag I'm, working with:

<cfinput type="button" name="TestButton" value="Test Button"
onClick="window.location='NewTemplate.cfm' ">
JMD1
6/5/2006 3:54:41 PM
drforbin1970
6/6/2006 5:39:59 PM
AddThis Social Bookmark Button