Hey. I'm loading content dynamically like this:
$("#id a").click(function(e){
e.preventDefault();
var hash = this.parentNode.hash;
$("#show").load('files/'+ hash +'.html');
$("#show").fadeIn(300);
});
But the hash is #first, #second, #third so I have to name files #first.html, #second.html etc. How to edit hash string and cut the # thing, so I'll be able to load files named first.html, second.html etc. without the hash (#) sign?