alerts in vbscript

Results 1 to 2 of 2

Thread: alerts in vbscript

  1. #1
    Perl Guest

    Default alerts in vbscript

    Thanx for this help.<BR><BR>Is it possible to show an alert using vbscript saying that the user has entered a wrong password instead of displaying the message "Wrong password"<BR> on the screen & making him click on a hyperlink say Back to go back to the login page?<BR><BR>If so please give me the code for it.<BR>Tank you in advance<BR>Perl

  2. #2
    Sathiya Guest

    Default RE: alerts in vbscript

    You cant use the alert in server side it should be in client side but try this and see it may work<BR><BR>Check for password if it is wrong then<BR>Response.write ("&#060;script lang=""javascript""&#062;alert(""WrongPassword"")& #060;/script&#062;<BR>End<BR><BR>I didnt tested it so try and see

Posting Permissions

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