javascript how to get current url parameters 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