I have an anchor tag on my page, i want an event attached to it, which will fire when the display of this element change.
How can i write this event? and catch whenever the display of this element change?
I have an anchor tag on my page, i want an event attached to it, which will fire when the display of this element change.
How can i write this event? and catch whenever the display of this element change?
You can't get an onshow event directly in JavaScript. Do remember that the following methods are non-standard.
IN IE you can use
Fires after the property of an element changes
and for Mozilla
you can use
Watches for a property to be assigned a value and runs a function when that occurs.