> The issue is that I can't work out how to do this without using > getElementByID. I'm fairly new to javascript and Jquery and I was wondering > if anybody could give me any tips as to how to make this a bit more elegant. > Any help would be much appreciated.
How about this (untested)?
function showAnchor() {
if (location.hash)
$(location.hash).next().slideDown("slow");
}
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
