Open GoogleCodeExporter opened 9 years ago
widgInit only gets run at window.onload (by default). Call widgInit in your
AJAX onsuccess function.
Original comment by texanpen...@gmail.com
on 11 Apr 2008 at 1:59
Thanks, this didn't work in my case, but I did get it working by calling
widgInit() from inside my ajax-loaded
div.
// load div
new Ajax.Updater('mycontent', url, {asynchronous:true, evalScripts:true});
<div id="mycontent">
<h2>Hi, stuff goes here</h2>
<textarea name="text" id="my_textbox" rows="10" cols="10" class="widgEditor">My content... edit
away!</textarea>
<script type="text/javascript">
widgInit();
</script>
</div>
Original comment by yari.mcg...@gmail.com
on 23 Apr 2008 at 11:20
Original issue reported on code.google.com by
evolvedw...@gmail.com
on 1 Apr 2008 at 4:35Attachments: