Given a p element like so:
<p>Something</p> I want to, when the user mouses over it, we have, instead <p><a href="blabla.org">go here</a></p>
After hovering if the mouse leaves the p area, return to the previous:
<p>Something</p> state.
Can I have a simple example of something like this?
Thanks a lot,
MEM
Or a simple modification of Ken Redler’s original that uses
.data()to keep track of things:http://www.jsfiddle.net/ambiguous/FhET2/1/