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
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
Unable to validate input data in array
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
2
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
template
Next
hsriat
Recognized Expert
Top Contributor
Join Date:
Jan 2008
Posts:
1653
#16
May 30 '08, 07:57 AM
Use match instead of test.
test
is for regExp object while
match
is for string object. And you have a string object. (
link
)
Comment
Post
Cancel
hsriat
Recognized Expert
Top Contributor
Join Date:
Jan 2008
Posts:
1653
#17
May 30 '08, 07:59 AM
Got late while searching for the link :D
Comment
Post
Cancel
vikas251074
New Member
Join Date:
Dec 2007
Posts:
198
#18
May 30 '08, 08:24 AM
Originally posted by
hsriat
Use match instead of test.
test
is for regExp object while
match
is for string object. And you have a string object. (
link
)
Yes Sir,
It is now working well.
Thanks and regards,
Vikas
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#19
May 30 '08, 09:23 AM
Originally posted by
vikas251074
Yes Sir,
It is now working well.
If you'd tested on Firefox or a non-IE browser, you would've seen an error message, "mat.value. test is not a function", which would've given you a clue. Anyway, glad it's now working for you.
Comment
Post
Cancel
Previous
1
2
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment