jQuery(event): watch element style
问题 let say have element like this <div class="watch-me" style="display: none;">Watch Me Please</div> as we can see the element above style is display: none , how can i make script to watch this element. when that element style is change to display: block then there is some code will be trigger. many thanks... 回答1: As far as I know, the only way to do this would be with a timer. I created a small jQuery plugin (yes, right here, right now) that does this against a jQuery set: EDIT this plugin is