----- 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to