I think this explains a problem I had a few months back with some Spectra tags inside a control handler. I forget how I got around that one.
Would your work-around work if I simply added an open and close script tag pair at the top of the handler?
Dave.
----- Original Message ----- From: "David An" <davida@mindseye.com> To: "Spectra-Talk" <spectra-talk@houseoffusion.com> Sent: Wednesday, 09 May, 2001 2:59 AM Subject: controlHandler scripts
> Here's a tricky one: > > The JavaScripts created by the controlHandler tags - specifically, the > function "_cfainvokecontrolhandlerevent" (and possibly elsewhere; haven't > checked) - are output to the page using <SCRIPT> tags that don't specify > LANGUAGE="JavaScript". This can cause problems if the first script on your > page is a VBScript, because the unqualified script tags then assume > VBScript, and throw errors on the JavaScript code. > > The workaround is to make sure that the first script tag on your page is > JavaScript - or to mod the controlHandler tags ... > > -- David > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.