Open window if asp condition met

Results 1 to 2 of 2

Thread: Open window if asp condition met

  1. #1
    Join Date
    Dec 1969

    Default Open window if asp condition met

    Hi<BR><BR>I&#039;m not sure how to do this, I want a custom window to open if certain conditions are met in an asp IF statement. I was going to use javascript to opn the window, but that gets processed client side and the asp server side.<BR>How do I do it then?<BR><BR>Cheers Matt

  2. #2
    Join Date
    Dec 1969

    Default write out the jscript!

    &#060;%if condition = TRUE then<BR> response.write("&#060;SCRIPT Language="Javascript"&#062;;/SCRIPT")<BR>end if%&#062;<BR>or, if the place you need to check the condition isn&#039;t an ideal place to output the javascript, then just set a variable to TRUE and check for that variable further down the page. If TRUE, write out the javascript.<BR>~~Chaotix

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts