ADVERTISEMENT

jquery

get the current page URL with JQuery

How to Get the Current Page URL with JQuery

Getting the current page URL with JQuery is very much important especially when redirecting or when tracking users’ activities. There are two methods you can use to get the current page URL with jquery: Use $(location).attr(“href”) Use window.location.href   Use $(location).attr(“href”) to get the current page URL You can use the location object and attr …

How to Get the Current Page URL with JQuery Read More »

AdBlock Detected!
This site depends on revenue from ad impressions to survive. If you find this site valuable, please consider disabling your ad blocker or pausing adblock for this website.