brandonaaron/livequery — Issue #11: does not work for IFRAMEs
Author: Nowaker
Created: 2011-10-25 10:22:16+00:00
State: open

>>> AJS.$('#wysiwygTextarea_ifr').contents().find('h6')
<<< [

​test​

​,

​test2​

​]

>>> AJS.$('#wysiwygTextarea_ifr').contents().find('h6').livequery(function() { alert('there'); });
<<< [

​test​

​,

​test2​

​]

>>> AJS.$('#wysiwygTextarea_ifr').contents().find('body').append('

new

');
<<< [

​…​

​]

No alert appeared.