DOM lib - how to specify container node?

Ok, I think I figured it out - if you have a DIV on the page with an id of sliderbox, say, you can call parent('#sliderbox')

rSlider = createSlider(0, 255, 100).parent("#sliderbox");

heh, posted it just as you were writing :smiley:
It seem a little odd to have an element attached to the body and then rip it out and assign its parent, but I can work with it.

1 Like