use insertBefore though be aware that creating the element will NOT call a script or trigger an event regardless of where the element is created so you WILL need to instantiate the class at the end of the creation/insertion routine
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|