DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery check if url contains string
//If URL contains "mystring" if (window.location.href.indexOf("mystring") > -1) { }
PREVIOUS
NEXT
Tagged:
#jquery
#check
#url
#string
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit