Alert not working - Weird Problem

Results 1 to 2 of 2

Thread: Alert not working - Weird Problem

  1. #1
    Join Date
    Dec 1969

    Default Alert not working - Weird Problem

    Hello all. This was working fine. Here is the code. The Response.Write shows the exact message text. The alert now shows nothing. The alert does not even come up. I tried VBScript it shows a message box but it then shows a blank message. The response.write writes the message on the bottom of my page. Any ideas?<BR>&#060;%<BR><BR>Dim strsql<BR><BR>strsql = "Select Message from tblWebMessages where Code = 2 and Active = True"<BR>Call Open_rs(strsql)<BR>If Not rs.EOF then<BR>message = rs("message")<BR>response.write message<BR>%&#062;<BR>&#060;SCRIPT LANGUAGE=javascript&#062; <BR>alert(&#039;&#060;%=message%&#062;&#039;)<BR>& #060;/SCRIPT&#062;<BR>&#060;%<BR>End If<BR>call close_rs()<BR>%&#062;

  2. #2
    Join Date
    Dec 1969

    Default Debug it

    Right click and view code. See if the message is being written into the output stream.<BR><BR>

Posting Permissions

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