KillerMovies - Movies That Matter!

REGISTER HERE TO JOIN IN! - It's easy and it's free!
Home » Communications » News & Questions » Computer Help Forum » Javascript help

Javascript help
Started by: SpikeSpiegel

Forum Jump:
Post New Thread    Post A Reply
  Last Thread   Next Thread
Author
Thread
SpikeSpiegel
Swimming Bird

Gender: Male
Location: United Kingdom

Javascript help

Can anyone help me out. I'm having trouble programming a bit of Javascript. In particular a while loop. I have:

while (number < 1 || number > length)
{
number= window.prompt('error - please re-enter number','')
};

and it doesn't work. I want it so that it'll perform the condition in the loop while the number is less than 1, or greater than another user defined field. What am I doing wrong?


__________________


I'm not going there to die. I'm going there to see if I really am alive.
Check my Bio for my stories [Last Updated - 27th July 2008]

Old Post Feb 19th, 2006 03:12 PM
SpikeSpiegel is currently offline Click here to Send SpikeSpiegel a Private Message Find more posts by SpikeSpiegel Edit/Delete Message Reply w/Quote Quick Quote
All times are UTC. The time now is 03:25 PM.
  Last Thread   Next Thread

Home » Communications » News & Questions » Computer Help Forum » Javascript help

Email this Page
Subscribe to this Thread
   Post New Thread  Post A Reply

Forum Jump:
Search by user:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON

Text-only version
 

< - KillerMovies.com - Forum Archive - Forum Rules >


© Copyright 2000-2006, KillerMovies.com. All Rights Reserved.
Powered by: vBulletin, copyright ©2000-2006, Jelsoft Enterprises Limited.