Funky JavaScript Problem
Author |
Message |
Axarent
|
Posted: Wed Feb 08, 2006 10:51 pm Post subject: Funky JavaScript Problem |
|
|
I'm New to using JavaScript and was trying to help a friend who's taking CS in uni. Being all bold I thought I could learn it because I picked up Turing in High School.
Anyways I have a Score Enterer that you pick that amount of games and enter in the team names, scores and it's supposed to come out with the team that wins (the highest score)
For the first time through if the Score of one team is <100 and the score of the other team is >100 The team with the score <100 Is put as the Winner which is completely wrong.
It then goes and works correctly for A second, third, fourth...etc. entries with teams being <100 or >100 not an issue....
What the heck is going on??? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Axarent
|
Posted: Wed Feb 08, 2006 10:53 pm Post subject: (No subject) |
|
|
SORRY!!!
I meant that the team with score LESS THAN (>) 100 is put as winner NOT the team <100 |
|
|
|
|
|
|
|