jquery get crrent website url 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