|
-
Oct 13th, 2001, 10:33 AM
#1
Thread Starter
Fanatic Member
what am i doing wrong?
why can't i see alert?
PHP Code:
for (i=0;i<2;i++) {
for (j=0;j<2;j++){
alert
}
}
-
Oct 13th, 2001, 11:05 AM
#2
Are you trying to bring up an alert box, or print "alert" on the screen?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 13th, 2001, 11:06 AM
#3
Thread Starter
Fanatic Member
i m trying to bring up alert which is inside 2 for just run the code alert doesn't pop up why?
-
Oct 13th, 2001, 11:08 AM
#4
try alert(""); instead of just alert.
I think that will solve the problem.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 13th, 2001, 11:12 AM
#5
Thread Starter
Fanatic Member
no its not that the sript never gets inside the second loop
-
Oct 13th, 2001, 11:16 AM
#6
Works for me. I get 4 alerts.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 13th, 2001, 11:20 AM
#7
Thread Starter
Fanatic Member
maybe u can post the whole test page that u used
-
Oct 13th, 2001, 11:22 AM
#8
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 13th, 2001, 11:32 AM
#9
Thread Starter
Fanatic Member
thnks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|