<cfif condition>

        perform some actions
<cfelse>
        <script>
                alert('message');
        </script>
</cfif>

recall that all this is on the server side of the fence.


Cheers!
---
Douglas Knudsen
Leveraged Technologies Group
Alltel-AIS Telecom
678-351-6063
[EMAIL PROTECTED]
"Try not. Do or do not. There is no try."
--Yoda



From:   Alexander Stepanov <[EMAIL PROTECTED]> on 11/20/2001 04:14 
PM
Please respond to [EMAIL PROTECTED]
To:     CF-Server <[EMAIL PROTECTED]>
cc: 

Subject:        How to invoke JavaScript function from CF script

Hello, 

I need to invoke alert popup javascript window from part of my
CF script, as I don't wont to redirect user to error page or use
child popup browser window with text. 
How can I do it ?

<cfif condition>

        perform some actions
<cfelse>
        invoke alert message box (javascript). 
</cfif>


I checked documentaion that I can invoke some js scripts on events (like 
onClick, onLoad, etc). Here I need to call that function but from CF
scirpts directly. Any ideas?

Thank you for you help.


Alex


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to