SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: alert box not popping up
-
Aug 8, 2002, 05:36 #1
- Join Date
- May 2001
- Location
- brazil
- Posts
- 39
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
alert box not popping up
Hi all,
I have a form script here:
http://www.motiontheque.com/news/new....asp?NewsID=30
OK, I´ve downloaded some ASP blog script (www.webwizguide.info) and I have customized this "comments" page (aiming w3c validation). So there´s 2 files
-the original that came with the ASP script
-the customized one. The above url is the customized one.
Ok, there´s a javascript routine that checks if one of the fields is empty, and if there´s any, there should pop up an alert box with the error message upon clicking on "submit" button.
OK, but somehow it´s not popping up, i´v pulled all my hair out trying to figure out, comparing with the original file.
The checkform function in the -HEAD- tag is *exactly* the same as the original, because I did some ctrl-v, and, to be sure, I checked line by line of the script.
so I guess the prob must be under the -FORM- tag, but I can´t figure it out. I checked all the names, and this is bugging me for 2 days now. I would be so grateful if someone explain this to me.
-thanks a lot
-
Aug 8, 2002, 23:19 #2
-
Aug 9, 2002, 14:24 #3
- Join Date
- May 2001
- Location
- brazil
- Posts
- 39
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
hey beetle, it looks really nice, i´m gonna try your script; thanks man
Bookmarks