why can't i see alert?
PHP Code:for (i=0;i<2;i++) {
for (j=0;j<2;j++){
alert
}
}
Printable View
why can't i see alert?
PHP Code:for (i=0;i<2;i++) {
for (j=0;j<2;j++){
alert
}
}
Are you trying to bring up an alert box, or print "alert" on the screen?
i m trying to bring up alert which is inside 2 for just run the code alert doesn't pop up why?
try alert(""); instead of just alert.
I think that will solve the problem.
:)
no its not that the sript never gets inside the second loop
:confused: Works for me. I get 4 alerts.
maybe u can post the whole test page that u used
;)
thnks :)