Answers for "if url is something then do this jquery"

7

jquery check if url contains string

//If URL contains "mystring"
if (window.location.href.indexOf("mystring") > -1) {

}
Posted by: Guest on June-05-2020

Code answers related to "if url is something then do this jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language