THANKS~!

-----Original Message-----
From: Gyrus [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 10:49 AM
To: CF-Talk
Subject: Re: JS within CFscript


----- Original Message -----
From: "Kris Pilles" <[EMAIL PROTECTED]>
> Is there anyway to have Cfscript open an JS alert box for me???
---------------------------

CFSCRIPT is server-side, JS alert boxes pop up client-side.

What are you trying to do? Do you mean you you want to write out some JS
pop-up code to be included in the current page in the middle of some
CFSCRIPT? You could use

WriteOutput('<script type="text/javascript">alert("Alert!");</script>');

But for anything longer you might want to close up your CFSCRIPT block
and write it out on its own.

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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