I wish to accomplish a fairly simple task (I hope!)
I got two div tags and one anchor tags, like this:
<a href="javascript:void(0);">forgot password?</a>
<div id="login-form"></div>
<div id="recover-password" style="display:none;"></div>
I wish use the anchor tag to toggle between the two div tags, hide the one and show the other and vice versa.
How can this be done the best way?
See Question&Answers more detail:os