recuperar url javascript
snippet in javascript

recuperar url javascript

user3001

var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript