In One of my project here is some scripts. How do I get the URL of the current page to use it in my javascript codes? Here is my code :
$(document).ready(function() {
$("#idea").hideshare({
link: "current_page_url",
position: "top"
});
});