I’m new to jquery, so forgive my ignorance. I’m trying to create a delete button, and when the user hovers over the delete button, a small confirmation appears for the user to either cancel (which will just hide the confirmation) or proceed (which will execute some code).
I have been able to get it to display the confirmation when the user hovers over the delete link, but it disappears when the user moves the mouse off of the link, (as they hover over the confirmation message)
Here’s a jsfiddle of what I have so far.
Look at this:
http://jsfiddle.net/ahallicks/KgtF2/4/
The margin is to make sure of an overlap, just make sure that the class of .links does the same as the deleteLink class 🙂