Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  15] [ 7]  / answers: 1 / hits: 42634  / 15 Years ago, wed, september 16, 2009, 12:00:00

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 changes?


More From » html

 Answers
10

You can't get an onshow event directly in JavaScript. Do remember that the following methods are non-standard.



IN IE you can use



onpropertychange event




Fires after the property of an element
changes




and for Mozilla



you can use



watch




Watches for a property to be assigned
a value and runs a function when that
occurs.



[#98685] Friday, September 11, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zariahdiamondz

Total Points: 649
Total Questions: 109
Total Answers: 88

Location: Tajikistan
Member since Thu, Apr 14, 2022
2 Years ago
;