|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by Abendago in JavaScript, Dynamic HTML (DHTML), Document Object Model
i'm using a js function to get an array of objects which match the getElementsByClassName call.
in my case, to return objects of images...
then foreach of the objects in the array, i want to append html code directly before, and directly after. ie.. find all images on the page with class "testme" then add <div class='somename'> before the image and </div> following the image.
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625