Open Nowaker opened 12 years ago
>>> AJS.$('#wysiwygTextarea_ifr').contents().find('h6') <<< [<h6>test</h6>, <h6>test2</h6>] >>> AJS.$('#wysiwygTextarea_ifr').contents().find('h6').livequery(function() { alert('there'); }); <<< [<h6>test</h6>, <h6>test2</h6>] >>> AJS.$('#wysiwygTextarea_ifr').contents().find('body').append('<h6>new</h6>'); <<< [<body id="tinymce" class="mceContentBody wiki-content fullsize" contenteditable="true" dir="ltr" style="min-height: 502px; ">…</body>]
No alert appeared.
No alert appeared.