> <cfscript>
>       documentwrite("<script
>       language="javascript">alert('message!');</script>");
> </cfscript>

> That should work, shouldn't it?

Got your js and cf functions confused there... and you didn't escape your
double-quotes. :)

<cfscript>
        writeoutput("<script language=""javascript"">alert('message!');</script>");
<cfscript>


>   --Ben Doom
>     Programmer & General Lackey
>     Moonbow Software

> : -----Original Message-----
> : From: Kris Pilles [mailto:[EMAIL PROTECTED]]
> : Sent: Thursday, September 26, 2002 10:26 AM
> : To: CF-Talk
> : Subject: JS within CFscript
> :
> :
> : Is there anyway to have Cfscript open an JS alert box for me???
> :
> :
> : Kris Pilles
> : Website Manager
> : Western Suffolk BOCES
> : 507 Deer Park Rd., Building C
> : Phone: 631-549-4900 x 267
> : E-mail: [EMAIL PROTECTED]
> :
> :
> :
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to