TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nicker
NA
5
3.2k
How to check if string contains certain word in JScript
May 24 2016 5:58 AM
y Code
var x = document.getElementById("searchbox").value;
if (x.contains('jo')){
}
When I run the code I got this error
Error: Object doesn't support property or method 'contains'
apparently I cant use contains, is there other method for it?
Reply
Answers (
2
)
Empty Text Box Validation Not Working
Javascript is not seeking the right amount of time