break loop not working?
I just want to ask why my codes doesnt run correctly?
see my code
I want to stop the loop when the code reach my var alert2,
can somebody explain me why?the code ignore the if statement..
Don't worry, your if statement is not being ignored.
At what point does alert2 get a value that could match that of i ?
Where used, return should be executed unconditionally and always as the last statement in the function.
That's my signature, it's not part of the damn post!
I'll just echo the sentiments of Logic Ali; your if statement isn't being ignored. You might try putting an else clause in your code just so you can tell whether or not your logic is correct.
Hello thanks for the reply..
parsInt is confusing to me., can anybody correct the code?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)