Fieldset type Property

❮ Fieldset Object

Example

Return which type of form element the fieldset is:

var x = document.getElementById("myFieldset").type;
Try it Yourself »

Description

The type property returns which type of form element a fieldset is.

For a fieldset, this property will always return "fieldset".

Note: This property is read only.


Browser Support

Property
type Yes Not supported Yes Not supported Yes

Syntax

fieldsetObject.type

Technical Details

Return Value: A string, representing the type of form element the fieldset is

❮ Fieldset Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.