I seem to have a problem: I have a button that runs a
js function, and I want it to work so that when you press the button, it runs the function (collapse a table) and scrolls to an anchor #something.
<a href="#something" onclick="return toggle_collapse('1200')"><img src="images/button.gif" alt="button" border="0" /></a>
But this doesn't work.. when i click it, it only collapses the table but doesnt move to the <div id="something> labeled location.
Does this have anything to do with the code of the func itself, or is there a workaround?