Answers for "jquery check url if"

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 "jquery check url if"

Code answers related to "Javascript"

Browse Popular Code Answers by Language