How to get current url path example in Jquery?
In this post we will give you information about How to get current url path example in Jquery?. Hear we will give you detail about How to get current url path example in Jquery?And how to use it also give you demo for it if it is necessary.
In this post i give you three way to get current url in your js file as there are bellow listed:
Ok, so you can check bellow example code and run in your system.
<title>JQuery - get current URL Example</title>
var currentURL = window.location.href;
var currentURL = $(location).attr("href");
var currentURL = window.location;
Hope this code and post will helped you for implement How to get current url path example in Jquery?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs