Removes the element from the screen. This has no effect for non-visual elements such as the purely interactive Selector elements.

Note that this leaves no space where the element previously was on the page (this is really removing the element, not just hiding it).


[js highlight=”4″ try=”true”]
newButton(“clickme”, “Click me”)

Adds a button that says Click me to the screen, and removes it after it is clicked.