-----------------------------------------------
<script src="http://http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(document).ready(function(e) {
var currentURL = window.location.hostname;
console.log(currentURL);
});
</script>
-----------------------------------------------
<script src="http://http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(document).ready(function(e) {
var currentURL = window.location.hostname;
console.log(currentURL);
});
</script>
-----------------------------------------------
No comments:
Post a Comment