A
small change in the programme made what u saw above occur
var question ="Give me a number ! ";
var num = prompt(question, "");
if (num > 100)
{
document.write("<center><h2>Number must
be below 100</h2>");
}
else
{
while (num <= 87)
{
document.writeln("num");
num++;
}
What`s actually happening in
this script ? Try it out again and find the explanation. . .
|
The work in this series is
copyright work of www.global-engineering.tk
Contact : global_engineering2003@yahoo.com
You are the
number person to access this page.
|