Results 1 to 2 of 2
Sep 25, 2001, 18:09 #1
I want the alert box bewlow to pop up when the "badlogin" variable is set to 1, in a URL. For example http://www.domain.com?badlogin=1 .
if (document.location.search) alert("\nIncorrect password.\n\nPlease try again.");
Any ideas ?
Sep 25, 2001, 18:12 #2
- Join Date
- Jul 2001
- 0 Post(s)
- 0 Thread(s)
As far as I know, you can't do this with a client-side script alone. I think you might have to look into a simple server-side script.
If your server supports ASP, I'll be happy to do it for you.