No. CFSCRIPT runs exclusively on the server-side and is incapable of
interacting directly with the browser. 

You could have CFSCRIPT set the text for the alert box, and output it
yourself like so: 

<cfscript>
  alert = 'hello there!';
</cfscript>

<script language="javascript">
   alert('<cfoutput>#alert#</cfoutput>');
</script>

M

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



______________________________________________________________________
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