how to get window url jquery code example
Example: jquery get current url
var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript
var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript