when you hover over the green area, it is supposed to show two text fields. Now what I want to achieve is, when I hover over the green area, or the input fields, they should be visible without the flicker. Also if some text has been entered into the text fields, and I hover out, there should be a delay or timer before the fields disappear….
Any idea how this can be done with jquery?
To prevent the flicker, just use
mouseenterandmouseleaveinstead:And for the delay, you can do something like:
Here’s a working example
Update using
hoverin response to comments below: