$(document).ready(function(){
var href = window.location.href ;
alert(href);
});