jquery get current ur; 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