[jQuery] basic Show & Hide icon
I am using the Basic Show & Hide (code below) succesfully and have
figured out how to link it to text rather than a 'submit button'.
What I would like to do though is to have a hand (or some other
meaningful icon) show up on mouse over instead of the cursor. Is there
a way to do this?
When I wrapped the text in an <a> tag with a #, on click, it returned
the user to the top of the page, which I don't want to do.
$(document).ready(function(){
$('div#tandc').hide();
$('#toggletandc').click(function(){
$('div.showhide,div#tandc').toggle();
});
});
Thanks
Joanne (first time jQuery user)