Share via


Visual InterDev

       

Hides the object so that it is not visible when the page is browsed.

Syntax

object.hide()

Parameters

object

A script object.

Remarks

Be careful not to confuse the display, hide, and show methods. The hide and show methods determine if the object is visible when browsing the page. The display method determines whether the object is included in the HTML stream.

Example

function btnCheck_onclick()
{
   if (Checkbox1.isVisible() )      // Toggle visibility of the checkbox
      Checkbox1.hide();
   else
      Checkbox1.show();
}