Textarea Object type Property
Textarea Object
Definition and Usage
The type property returns the type of form element. For a text area this will always be "textarea".
Syntax
Example
The following example returns which type of form element the text area element
is:
<html>
<head>
<script type="text/javascript">
function alertType()
{
alert(document.getElementById('txt1').type);
}
</script>
</head>
<body>
<textarea id="txt1">
Hello world....This is a text area
</textarea>
<br />
<input type="button" onclick="alertType()" value="Alert type" />
</body>
</html>
|
Textarea Object
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|