Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves a value indicating whether the object can contain children.
Syntax
N/A |
[ bChildren = ] object . canHaveChildren |
Possible Values
bChildren | Boolean that receives one of the following values.
|
The property is read-only. The property has no default value.
Remarks
Objects do not have to contain children for the canHaveChildren property to return true . This property is useful in determining whether objects can be appended as children.
Example
This example uses the canHaveChildren property to add a new object to the first element in a Web page that can contain children.
<SCRIPT>
Standards Information
There is no public standard that applies to this property.
Applies To
|
A , ACRONYM , ADDRESS , B , BDO , BIG , BLOCKQUOTE , BODY , BUTTON , CAPTION , CENTER , CITE , CODE , COL , COLGROUP , COMMENT , CUSTOM , DD , DEL , DFN , DIR , DIV , DL , DT , EM , FIELDSET , FONT , FORM , FRAMESET , HEAD , hn , HTML , I , IFRAME , INPUT type=button , INPUT type=checkbox , INPUT type=file , INPUT type=image , INPUT type=password , INPUT type=radio , INPUT type=reset , INPUT type=submit , INPUT type=text , INS , KBD , LABEL , LEGEND , LI , LISTING , MAP , MARQUEE , MENU , nextID , OBJECT , OL , OPTION , P , PLAINTEXT , PRE , Q , S , SAMP , SELECT , SMALL , SPAN , STRIKE , STRONG , SUB , SUP , TABLE , TBODY , TD , TEXTAREA , TFOOT , TH , THEAD , TR , TT , U , UL , VAR , XMP |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |