Changes

Building Forms with JavaScript

607 bytes added, 20:30, 15 May 2007
JavaScript TextArea Object
== JavaScript TextArea Object ==
 
the JavaScript TextArea object is created using the <textarea> tag and differs from the Text object in that it allows multiple lines of text to be entered by the user. Additional attrinutes allow the number of rows and columns the TextArea should makie available to the user.
 
The following is an example of using the TextArea object:
 
<pre>
<textarea name="myTextArea" rows="10" cols="60">
This is some default text
</textarea>
</pre>
 
In the above example you will see some text before the closing </textarea> tag. If provided, this represents the text to be displayed by default in the TextArea object.
== The JavaScript Button Object ==