Hi. I have this simple script:
$(document).ready(function(){
var $yoyo = window.location.hash;
alert($yoyo);
});
But I need to get rid of the # symbol as I'll be using the variable to locate div ids. I've tried using .remove('#') but that doesn't seem to be working.
Many thanks in advance!