View Full Version : appendChild

07-24-2006, 07:53 PM
i want to add a div before an element in a loop, im just not sure how to do that.

quirksmode shows an example of adding an element as a child to an existing element. i have an item blocks[i] that i would like to add a div in front of, anyway i can do that?


07-24-2006, 07:55 PM
i think i found it. insertbefore


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum