Here is a way that you can use javascript with flash forms,
we ran into a situation where the flash form got so big on the page, that we had to use javascript to scroll to the top of the page…
<cfsavecontent variable=“doThis”>
getURL(“javascript:showMessage(” + “‘test’” + “)”);
</cfsavecontent>
<script language=“javascript”>
function showMessage(msg)
{
alert(msg);
}
</script>
<cfform name=“myform” height=“200″ width=“200″ format=“Flash”>
<cfinput type=“button” name=“test” value=“test” onClick=“#doThis#”>
</cfform>
I use it on my site to invoke javascript and ajax




1 user commented in " Use Javascript in flash forms "
Follow-up comment rss or Leave a Trackbacktest comments
Leave A Reply