Input Search type Property
Return which type of form element the search field is:
The result of x could be:
Try it yourself »
Definition and Usage
The type property returns which type of form element the search field is.
For a search field, this property will always return "search".
The type property is supported in all major browsers.
|Return Value:||A String, representing the type of form element the search field is|
Input Search Object
Thank You For Helping Us!
Your message has been sent to W3Schools.