Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Odd Error (Function not Defined)?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
3
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
1
2
3
template
Next
Dormilich
Recognized Expert
Expert
Join Date:
Aug 2008
Posts:
8694
#31
May 22 '09, 01:12 PM
Originally posted by
javaman
I'm not getting it I'm afraid, I think I have been working on it too long, think I'll take a break.
shut down the computer, take a walk in the park. this usually will get you relaxed and maybe enlightened back.
Comment
Post
Cancel
javaman
New Member
Join Date:
May 2009
Posts:
10
#32
May 22 '09, 05:49 PM
Hi
I have move the return false line down
[removed code]
Unfortunately it still isn't working. It only seems to be the first entry which thinks it has already been entered, after that it works fine.
Any ideas
Thanks:-)
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#33
May 22 '09, 06:04 PM
There must be a problem in your code where you call this function. Follow the values/variables you enter and set either using a debugger or adding a few alerts.
Comment
Post
Cancel
javaman
New Member
Join Date:
May 2009
Posts:
10
#34
May 22 '09, 06:18 PM
That good news, at least I know the function is now right.
Where can I get a debugger?
Thanks again
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#35
May 22 '09, 07:16 PM
I'd recommend
Firebug
(for Firefox), but a lite version is available for other browsers.
Comment
Post
Cancel
javaman
New Member
Join Date:
May 2009
Posts:
10
#36
May 22 '09, 09:04 PM
Hi
I have cracked it!
I had 'chosenNumbers[index3] = newNumber;' in twice
I am so grateful to everyone here who has spared the time to help me through.
Thanks:-)
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#37
May 23 '09, 09:26 AM
Glad you solved it yourself in the end. That's how it should be. Thanks for posting.
Comment
Post
Cancel
Previous
1
2
3
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment