javascript leer url code example
Example 1: javascript detectar la pagina
var URLactual = window.location;
alert(URLactual);
Example 2: javascript detectar la pagina
var URLactual = jQuery(location).attr('href');
var URLactual = window.location;
alert(URLactual);
var URLactual = jQuery(location).attr('href');