Question: how to get current page in jquery?
Answer: <title>jQuery Get Current Page URL</title>
<script>
$("button"). click(function(){
var pageURL = $(location). attr("href");
alert(pageURL);
});
});
</script>