javascript - textareaObject.type == "textarea". what is the use of this? -


what use of "textarea type property"?

w3foos says this:

the type property returns type of form element text area is.

for text area object "textarea".

i'm sorry, what? why confirming textarea textarea ever necessary?

also, example doesn't support says. "the type property returns type of form element text area is." textarea in textarea.

i apologize in advance if incredibly straightforward going on head. thanks.

it's element's type.

just <input> elements have type property, <textarea> elements have type property well. difference returns "textarea".

<input>, <button>, <select> , <fieldset> have type.


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

java - Are there any classes that implement javax.persistence.Parameter<T>? -