[wp-hackers] WordPress Importer (Cross-Post)

Austin Matzko if.website at gmail.com
Fri Feb 10 12:29:18 GMT 2006


On 2/5/06, Jamie Talbot <wphackers at jamietalbot.com> wrote:
> As a side-issue, I want to place a checkbox next to the Delete Button on the edit page.  I added it in edit_form_advanced with javascript to append it in the right place, but IE dies with a fatal error every time.  Apparently, it doesn't like the DOM being altered before the page is fully
loaded, which I think is because the preview pane is still loading at
that time.  Anybody think of a way to do this?

How about using the addEvent event listener function ( seen here:
http://www.sitepoint.com/article/structural-markup-javascript ) to add
your JavaScript only when the page has finished loading?


More information about the wp-hackers mailing list