Groups | Blog | Home
all groups > coldfusion flash integration > april 2005 >

coldfusion flash integration : how not to reload with onclick in a flah cfform



DavidGhous
4/5/2005 7:33:10 PM
I have the following code: <cfform format='Flash'> <cfinput id='a'
name='a' type='text'> <cfinput id='b' name='b' type='submit'
value='Submit' onclick='a.text = 'hello'' /> </cfform> When the submit button
is clicked hello shows in the text field 'a' and the form is reloaded. Is it
possible to stop the form from reloading.
The ScareCrow
4/6/2005 2:43:28 AM
Change the type of the button from "submit" to "button"

AddThis Social Bookmark Button