Displaying 1 result from an estimated 1 matches for "my_groupbox".
Did you mean:
bs_groupbox
2006 Apr 06
0
Using insertion.after w/builder
...node("div", {className: "content"}, "This is
a sample group box widget.");
groupbox = Builder.node("div", {className: "groupbox"});
groupbox.appendChild(title);
groupbox.appendChild(content);
$("my_groupbox").appendChild(groupbox);
}
</script>
I would like to use insertion.after instead of
"$("my_groupbox").appendChild(groupbox);" to insert the DOM fragment I
created w/builder. I''ve tried "new Insertion.After("my_id", groupbox);",
but...