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