Contiene todo la infromacion referente a la programación de javascriptDescripción completa
JavaScriptDescrição completa
Introducere in JavaScriptFull description
Description : Cours de javascript par Cabaré
JavaScript nije Java. Toliko! Kada smo ovo razjasnili, možemo da pređemo na značajnije i važnije učenje, kao npr. kako da napravite dobre slajdere. Šalu na stranu, JavaScript je jedna imple…Full description
Test upload
JavaScript Freebitcoin
Resumen JavascriptDescripción completa
Descripción completa
javaDescrição completa
javaFull description
JavaScript alapjai
JavaScript Zbirka
Descripción completa
Introduccion JavascriptDescripción completa
The String Object The String object let's you work with text. Syntax for for creating a String object: var myStr=new String(string); String Object Properties
Constructor Length Prototype
A reference to the function that created the object Returns the number of characters in a string Allows you to add properties and methods to the object
Creates an HTML anchor Displays a string in a big font Displays a blinking string Displays a string in bold Returns the character at a specified position Returns the Unicode of the character at a specified position Joins two or more strings Displays a string as teletype text Displays a string in a specified color Displays a string in a specified size Takes the specified Unicode values and returns a string Returns the position of the first occurrence of a specified string value in a string Displays a string in italic Returns the position of the last occurrence of a string value, searching backwards Displays a string as a hyperlink Searches for a specified value in a string Replaces some characters with some other characters in a string Searches a string for a specified value Extracts a part of a string and returns the extracted part in a new string Displays a string in a small font Splits a string into an array of strings Displays a string with a strikethrough Displays a string as subscript Extracts a specified number of characters in a string, from a start index Extracts the characters in a string between two specified indices Displays a string as superscript Displays a string in lowercase letters Displays a string in uppercase letters Represents the source code of an object Returns the primitive value of a String object
The Date Object The Date object is used to work with dates and times. Syntax for for creating a Date object: var myDate=new Date() Date Object Properties
Constructor onstructor Prototype rototype
Returns a reference to the Date function that created the object Allows you to add properties and methods to the object
Returns today's date and time Returns the day of the month from a Date object (from 1-31) Returns the day of the week from a Date object (from 0-6) Returns the year, as a four-digit number, from a Date object Returns the hour of a Date object (from 0-23) Returns the milliseconds of a Date object (from 0-999) Returns the minutes of a Date object (from 0-59)
getMonth() getMonth() Returns the month from a Date object (from 0-11) Returns the seconds of a Date object (from 0-59) getSeconds() getSeconds() Returns the number of milliseconds since midnight Jan 1, 1970 getTime() getTimezoneOffset() getTimezoneOffset() Returns the difference in minutes between local time and Greenwich Mean Time (GMT) Returns the day of the month from a Date object according to universal time (from 1-31) getUTCDate() getUTCDate() Returns the day of the week from a Date object according to universal time (from 0-6) getUTCDay() getUTCDay() Returns the month from a Date object according to universal time (from 0-11) getUTCMonth() getUTCMonth() Returns the four-digit year from a Date object according to universal time getUTCFullYear() getUTCHours() Returns the hour of a Date object according to universal time (from 0-23) Returns the minutes of a Date object according to universal time (from 0-59) getUTCMinutes() Returns the seconds of a Date object according to universal time (from 0-59) getUTCSeconds() getUTCMilliseconds()Returns the milliseconds of a Date object according to universal time (from 0-999) parse() Takes a date string and returns the number of milliseconds since midnight of January 1, 1970 Sets the day of the month in a Date object (from 1-31) setDate() Sets the year in a Date object (four digits) setFullYear() etFullYear() Sets the hour in a Date object ( from 0-23) setHours() Sets the milliseconds in a Date object (from 0-999) setMilliseconds() etMilliseconds() setMinutes() Set the minutes in a Date object (from 0-59) Sets the month in a Date object (from 0-11) setMonth() Sets the seconds in a Date object (from 0-59) setSeconds() setTime() Calculates time adding or subtracting a number of milliseconds from midnight January 1, 1970 Sets the day of the month in a Date object according to universal time (from 1-31) setUTCDate() setUTCMonth() Sets the month in a Date object according to universal time (from 0-11) Sets the year in a Date object according to universal time (four digits) setUTCFullYear() Sets the hour in a Date object according to universal time (from 0-23) setUTCHours() setUTCMinutes() Set the minutes in a Date object according to universal time (from 0-59) Set the seconds in a Date object according to universal time (from 0-59) setUTCSeconds() setUTCMilliseconds() setUTCMilliseconds()Sets the milliseconds in a Date object according to universal time ( from 0-999) Returns the date portion of a Date object in readable form toDateString() toDateString() Converts a Date object, according to Greenwich time, to a string. Use toUTCString() instead !! toGMTString() toLocaleDateString() toLocaleDateString()Converts a Date object, according to local time, to a string and returns the date portion toLocaleTimeString() toLocaleTimeString()Converts a Date object, according to local time, to a string and returns the time portion Converts a Date object, according to local time, to a string toLocaleString() toLocaleString() toSource() Represents the source code of an object Converts a Date object to a string toString() R eturns eturns the time portion of a Date object in readable form toTimeString() Converts a Date object, according to universal time, to a string toUTCString() UTC() Takes a date and returns the number of milliseconds since midnight of January 1, 1970 R eturns eturns the primitive value of a Date object valueOf()
The Array Array Object The Array object is used to store multiple values in a single variable. Syntax for creating cre ating an Array object: var myCars=new Array("Saab","Volvo","BMW") Array Object Objec t Properties
Constructor index input Length Prototype
Returns a reference to the array function that created the object Sets or returns the number of elements in an array Allows you to add properties and methods to the object
Joins two or more arrays and returns the result Puts all the elements of an array into a string. The elements are separated by a delimiter Removes and returns the last element of an array Adds one or more elements to the end of an array and returns the new length Reverses the order of the elements in an array Removes and returns the first element of an array Returns selected elements from an existing array
Sorts the elements of an array Removes and adds new elements to an array Represents the source code of an object Converts an array to a string and returns the result Adds one or more elements to the beginning of an array and returns the new length Returns the primitive value of an Array object
The Boolean Object The Boolean object represents two values: "true" or "false". Syntax for creating creating a Boolean object:
var myBool=new Boolean(value)
Boolean Object Properties
Constructor Constructor Prototype
Returns a reference to the Boolean function that created the object Allows you to add properties and methods to the object
Returns the source code of the object Converts a Boolean value to a string and returns the result Returns the primitive value of a Boolean object
The Math Object The Math object allows you to perform mathematical tasks. Syntax for using properties/methods properties/methods of Math: var pi_value=Math.PI; var sqrt_value=Math.sqrt(16); Math Object Properties
E Ln2 Ln10 LOG2E LOG10E PI SQRT1_2 SQRT2
Returns Euler's constant (approx. 2.718) Returns the natural logarithm of 2 (approx. 0.693) Returns the natural logarithm of 10 (approx. 2.302) Returns the base-2 logarithm of E (approx. 1.442) Returns the base-10 logarithm of E (approx. 0.434) Returns PI (approx. 3.14159) Returns the square root of 1/2 (approx. 0.707) Returns the square root of 2 (approx. 1.414)
Returns the absolute value of a number Returns the arccosine of a number Returns the arcsine of a number Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radians Returns the angle theta of an (x,y) point as a numeric value between -PI and PI radians Returns the value of a number rounded upwards to the nearest integer Returns the cosine of a number Returns the value of Ex Returns the value of a number rounded downwards to the nearest integer Returns the natural logarithm (base E) of a number Returns the number with the highest value of x and y Returns the number with the lowest value of x and y Returns the value of x to the power of y Returns a random number between 0 and 1 Rounds a number to the nearest integer Returns the sine of a number Returns the square root of a number
tan(x) toSource() oSource() valueOf()
Returns the tangent o off an angle Represents the source source code of an object Returns the primitive value of a Math object
The Number Object The Number object is an object wrapper for primitive numeric values. Syntax for creating a Number object: var myNum=new Number(number); Number Object Properties
Constructor onstructor MAX_VALUE MAX_VALUE MIN_VALUE MIN_VALUE NaN NEGATIVE_INFINITY POSITIVE_INFINITY Prototype
Returns a reference to the Number function that created the object Returns the largest possible value in JavaScript Returns the smallest possible value in JavaScript Represents "Not-a-number" value Represents a value that is less than MIN_VALUE Represents a value that is greater than MAX_VALUE Allows you to add properties and methods to the object
Converts the value of the object into an exponential notation Formats a number to the specified number of decimals Converts a number into a number with a specified number of digits Converts the Number object into a string Returns the value of the Number object
Top-level Functions Functions Decodes an encoded URI decodeURI() decodeURIComponent()Decodes an encoded URI component Encodes a string as a URI encodeURI() encodeURIComponent()Encodes a string as a URI component escape() Encodes a string Evaluates a string and executes it as if it was script code eval() Checks if a value is a finite number isFinite() Checks if a value is not a number isNaN() Converts an object's value to a number Number() parseFloat() Parses a string and returns a floating point number Parses a string and returns an integer parseInt() Converts an object's value to a string String() unescape() Decodes a string encoded by escape() Top-level Properties
Infinity NaN Undefined
A numeric value that represents positive or negative infinity Indicates that a value is "Not a Number" Indicates that a variable has not been assigned a value
Window Object The Window object is the top level object in the JavaScript hierarchy. hierarchy. Window Object Collections
frames[] Closed defaultSta defaultStatus tus Document Document history history
Returns all named frames in the window Returns whether or not a window has been closed Sets or returns the default text in the statusbar of the window See Document object
Length Location Name Opener outerHeight outerWidth pageXOffset pageYOffset Parent Personalbar Personalbar Scrollbars Self Status Statusbar Statusbar Toolbar Top
Sets or returns the number of frames in the window Sets or returns the name of the window Returns a reference to the window that created the window Sets or returns the outer height of a window Sets or returns the outer width of a window Sets or returns the X position of the current page in relation to the upper left corner Sets or returns the Y position of the current page in relation to the upper left corner Returns the parent window Sets whether or not the browser's personal bar (or directories bar) should be visible Sets whether or not the scrollbars should be visible Returns a reference to the current window Sets the text in the statusbar of a window Sets whether or not the browser's statusbar should be visible Sets whether or not the browser's tool bar is visible or not Returns the topmost ancestor window
Displays an alert box with a message and an OK button Removes focus from the current window Cancels a timeout set with setInterval() Cancels a timeout set with setTimeout() Closes the current window Displays a dialog box with a message and an OK and a Cancel button Creates a pop-up window Sets focus to the current window Moves a window relative to its current position Moves a window to the specified position Opens a new browser window Prints the contents of the current window Displays a dialog box that prompts the user for input Resizes a window by the specified pixels Resizes a window to the specified width and height Scrolls the content by the specified number of pixels Scrolls the content to the specified coordinates Evaluates an expression at specified intervals Evaluates an expression after a specified number of milliseconds
Navigator Navigator Object The Navigator object is actually a JavaScript object, not an HTML DOM object. Navigator Object Properties
Returns the code name of the browser Returns the minor version of the browser Returns the name of the browser Returns the platform and version of the browser Returns the current browser language Returns a Boolean value that specifies whether cookies are enabled in the browser Returns the CPU class of the browser's system Returns a Boolean value that specifies whether the system is in offline mode Returns the operating system platform Returns the default language used by the OS Returns the value of the user-agent header sent by the client to the serve Returns the OS' natural language setting
Specifies whether or not the browser has Java enabled Specifies whether or not the browser has data tainting enabled
Screen Screen Object The Screen object is actually a JavaScript object, not an HTML DOM object.. Screen Object Properties Returns the height of the display screen (excluding the Windows Taskbar) Taskbar) availHeight availWidth Returns the width of the display screen (excluding the Windows Taskbar) Taskbar) Sets or returns the bit depth of the color palette in the off-screen bitmap buffer buffer bufferDepth Returns the bit depth of the color palette on the destination device or buffer colorDepth colorDepth deviceXDPI deviceXDPI Returns the number of horizontal dots per inch of the display screen Returns the number of vertical dots per inch of the display screen deviceYDPI deviceYDPI fontSmoothingEnabled fontSmoothingEnabledReturns whether the user has enabled font smoothing in the display control panel The height of the display screen Height Returns the normal number of horizontal dots per inch of the display screen logicalXDPI logicalYDPI Returns the normal number of vertical dots per inch of the display screen pixelDepth Returns the color resolution (in bits per pixel) of the display screen Sets or returns the update interval for the screen updateInterval Returns width of the display screen Width
History History Object The History object is actually a JavaScript object, not an HTML DOM object. History istory Object Methods
back() forward() go()
Loads the previous URL in the history list Loads the next URL in the history list Loads a specific page in the history list
Location Object The Location object is actually a JavaScript object, not an HTML DOM object. Location Location Object Properties
Hash Host Hostname Href Pathname Port Protocol Search earch
Sets or returns the URL from the hash sign (#) Sets or returns the hostname and port number of the current URL Sets or returns the hostname of the current URL Sets or returns the entire URL Sets or returns the path of the current URL Sets or returns the port number of the current URL Sets or returns the protocol of the current URL Sets or returns the URL from the question mark (?)
Location Object Object Methods
assign() reload() replace()
Loads a new document Reloads the current document Replaces the current document with a new one
Document Document Object The Document object represents the entire HTML document and can be used to access all elements in a page. Document Object Collections
anchors[] forms[]
Returns a reference to all Anchor objects in the document Returns a reference to all Form objects in the document
images[] links[]
Returns a reference to all Image objects in the document Returns a reference to all Area and Link objects in the document
Document ocument Object Properties
Body Cookie Domain lastModified astModified Referrer Title URL
Gives direct access to the element Sets or returns all cookies associated with the current document Returns the domain name for the current document Returns the date and time a document was last modified Returns the URL of the document that loaded the current document Returns the title of the current document Returns the URL of the current document
Document ocument Object Methods
close() Closes an output stream opened with the document.open() method getElementById() etElementById() Returns a reference to the first object with the specified id getElementsByName() etElementsByName() Returns a collection of objects with the specified name getElementsByTagName() etElementsByTagName() Returns a collection of objects with the specified tagname Opens a stream to collect the output from any document.write() or document.writeln() open() Writes HTML expressions or JavaScript code to a document write() writeln() riteln() Identical to the write(), with the addition addition of writing a new line character after expression
Button Object The Button object represents a push button. Button utton Object Properties
accessKey accessKey Disabled isabled Form Id Name tabIndex Type Value
Sets or returns the keyboard key to access a button Sets or returns whether a button should be disabled Returns a reference to the form that contains the button Sets or returns the id of a button Sets or returns the name of a button Sets or returns the tab order for a button Returns the type of form element a button is Sets or returns the text that is displayed on a button
Loading of an image is interrupted An element loses focus The content of a field changes Mouse clicks an object Mouse double-clicks an object An error occurs when loading a document or an image An element gets focus A keyboard key is pressed A keyboard key is pressed or held down A keyboard key is released A page or an image is finished loading A mouse button is pressed The mouse is moved The mouse is moved off an element The mouse is moved over an element A mouse button is released The reset button is clicked A window or frame is resized Text is selected The submit button is clicked The user exits the page
Returns whether or not the "ALT" "ALT" key was pressed when an event was triggered Returns which mouse button was clicked when an event was triggered Returns the horizontal coordinate of the mouse pointer when an event was triggered Returns the vertical coordinate of the mouse pointer when an event was triggered Returns whether or not the "CTRL" key was pressed when an event was triggered Returns whether or not the "meta" key was pressed when an event was triggered Returns the element related to the element that triggered the event Returns the horizontal coordinate of the mouse pointer when an event was triggered Returns the vertical coordinate of the mouse pointer when an event was triggered Returns whether or not the "SHIFT" key was pressed when an event was triggered
Other Event Attributes
Bubbles Cancelable currentTarget currentTarget eventPhase eventPhase Target timeStamp Type
Returns a Boolean value that indicates whether or not an event is a bubbling event Returns a Boolean that indicates whether or not an event can be default action prevented Returns the element whose event listeners triggered the event Returns which phase of the event flow is currently being evaluated Returns the element that triggered the event Returns the time stamp, in milliseconds, from the epoch (system start or event trigger) Returns the name of the event
Form Form Object The Form object represents an HTML form. Form Ob ject Properties
acceptCharset Action Enctype Id Length Method Name Target
Sets or returns a list of possible character-sets for the form data Sets or returns the action attribute of a form Sets or returns the MIME type used to encode the content of a form Sets or returns the id of a form Returns the number of elements in a form Sets or returns the HTTP method for sending data to the server Sets or returns the name of a form Sets or returns where to open the action-URL in a form
Form Object Methods
reset() eset() submit()
Resets the values of all elements in a form Submits a form
Image Object The Image object represents an embedded image. Image Object Object Properties
Align Alt Border Complete Complete Height Hspace Id isMap longDesc Lowsrc Name
Sets or returns how to align an image according to the surrounding text Sets or returns an alternate text to be displayed, if a browser cannot show an image Sets or returns the border around an image Returns whether or not the browser has finished loading the image Sets or returns the height of an image Sets or returns the white space on the left and right side of the image Sets or returns the id of the image Returns whether or not an image is a server-side image map Sets or returns a URL to a document containing a description of the image Sets or returns a URL to a low-resolution version of an image Sets or returns the name of an image
Src useMap seMap Vspace Width
Sets or returns the URL of an image Sets or returns the value of the usemap attribute of an client-side image map Sets or returns the white space on the top and bottom of the image Sets or returns the width of an image
Button Object The Button object represents a button in an HTML form. Button Object Properties
accessKey Alt Disabled Form Id Name Type Value
Sets or returns the keyboard key to access a button Sets or returns an alternate text to display if a browser does not support buttons Sets or returns whether or not a button should be disabled Returns a reference to the form that contains the button Sets or returns the id of a button Sets or returns the name of a button Returns the type of form element a button is Sets or returns the text that is displayed on the button
Button utton Object Methods
blur() lur() click() focus() ocus()
Removes focus from a button Simulates a mouse-click on a button Gives focus to a button
Radio Radio Object The Radio object represents a radio button in an HTML form. Radio Object Properties
accessKey Alt Checked defaultChecked Disabled Form Id Name tabIndex Type Value
Sets or returns the keyboard key to access a radio button Sets or returns an alternate text to display if a browser does not support radio buttons Sets or returns the state of a radio button Returns the default state of a radio button Sets or returns whether or not a radio button should be disabled Returns a reference to the form that contains the radio button Sets or returns the id of a radio button Sets or returns the name of a radio button Sets or returns the tab order for a radio button Returns the type of form element a radio button is Sets or returns the value of the value attribute of the radio button
R adio adio Object Methods
blur() lur() click() focus() ocus()
Removes focus from a radio button Simulates a mouse-click on a radio button Sets focus on a radio button
Text Object The Text object represents a text-input field in an HTML form. Text Object Properties
accessKey Alt defaultValue efaultValue Disabled isabled Form Id
Sets or returns the keyboard key to access a text field Sets or returns an alternate text to display if a browser does not support text fields Sets or returns the default value of a text field Sets or returns whether or not a text field should be disabled Returns a reference to the form that contains the text field Sets or returns the id of a text field
maxLength Name readOnly Size tabIndex Type Value
Sets or returns the maximum number of characters in a text field Sets or returns the name of a text field Sets or returns whether or not a text field should be read-only Sets or returns the size of a text field Sets or returns the tab order for a text field Returns the type of form element a text field is Sets or returns the value of the value attribute of a text field
Text Object Methods
blur() focus() ocus() select()
Removes focus from a text field Sets focus on a text field Selects the content of a text field
Link Object The Link object element defines the relationship between two linked documents Link Object Properties Properties
Charset Disabled Href Hreflang Id Media Name Rel Rev Type
Sets or returns the character encoding of the target URL Sets or returns whether or not the target URL should be disabled Sets or returns the URL of a linked resource Sets or returns the base language of the target URL Sets or returns the id of a element Sets or returns on what device the document will be displayed Sets or returns the name of a element Sets or returns the relationship between the current document and the target URL Sets or returns the relationship between the target URL and the current document Sets or returns the MIME type of the target URL
Style Style object The Style object represents an individual style statement. S ynta x for using the Style object properties: document.getElementB document.getElementById("id").style. yId("id").style.property="value" property="value" Background ackground properties Sets all background properties in one Background ackground backgroundAttachment Sets whether a background-image is fixed or scrolls with the page Sets the background-color of an element backgroundColor backgroundImage Sets the background-image of an element backgroundPosition Sets the starting position of a background-image backgroundPositionX Sets the x-coordinates of the backgroundPosition property backgroundPositionY Sets the y-coordinates of the backgroundPosition backgroundPosition property Sets if/how a background-image will be repeated backgroundRepeat Border and Margin properties
Sets all properties for the four borders in one Sets all properties for the bottom border in one Sets the color of the bottom border Sets the style of the bottom border Sets the width of the bottom border Sets the color of all four borders (can have up to four colors) Sets all properties for the left border in one Sets the color of the left border Sets the style of the left border Sets the width of the left border Sets all properties for the right border in one Sets the color of the right border
Sets the style of the right border Sets the width of the right border Sets the style of all four borders (can have up to four styles) Sets all properties for the top border in one Sets the color of the top border Sets the style of the top border Sets the width of the top border Sets the width of all four borders (can have up to four widths) Sets the margins of an element (can have up to four values) Sets the bottom margin of an element Sets the left margin of an element Sets the right margin of an element Sets the top margin of an element Sets all outline properties in one Sets the color of the outline around an element Sets the style of the outline around an element Sets the width of the outline around an element Sets the padding of an element (can have up to four values) Sets the bottom padding of an element Sets the left padding of an element Sets the right padding of an element Sets the top padding of an element
Layout properties properties
Clear Sets on which sides of an element other floating elements are not allowed Sets the shape of an element Clip Content Sets meta-information Sets a list of counter names, followed by an integer. integer. The integer indicates by how much the counterIncrement ounterIncrement counter is incremented for every occurrence of the element. The default is 1 counterReset counterReset Sets a list of counter names, followed by an integer. integer. The integer gives the value that the counter is set to on each occurrence of the element. The default is 0 Sets where an image or a text will appear (float) in another element cssFloat Sets the type of cursor to be displayed Cursor Sets the text direction of an element Direction Display Sets how an element will be displayed Sets the height of an element Height eight Sets the distance between the nearest border edges of a marker box and its principal box markerOffset arkerOffset Marks Sets whether cross marks or crop marks should be rendered just outside the page box edge Sets the maximum height of an element maxHeight Sets the maximum width of an element maxWidth Sets the minimum height of an element minHeight minWidth Sets the minimum width of an element Specifies what to do with content that does not fit in an element box Overflow verticalAlign verticalAlign Sets the vertical alignment of content in an element Sets whether or not an element should be visible Visibility Sets the width of an element Width List properties
Sets all the properties for a list in one Sets an image as the list-item market Positions the list-item marker Sets the list-item marker type
Positioning ositioning properties Bottom Left Position Right Top Zindex
Sets how far the bottom edge of an element is above/below the bottom edge of the parent Sets how far the left edge of an element is to the right/left of the left edge of the parent Places an element in a static, relative, absolute or fixed position Sets how far the right edge of an element is to the left/right of the right edge of the parent Sets how far the top edge of an element is above/below the top edge of the parent element Sets the stack order of an element
Sets the minimum number of lines for a paragraph that must be left at the bottom of a page Sets a page type to use when displaying an element Sets the page-breaking behavior after an element Sets the page-breaking behavior before an element Sets the page-breaking behavior inside an element Sets the orientation and size of a page Sets the minimum number of lines for a paragraph that must be left at the top of a page
Sets whether the table border are collapsed into a single border or detached Sets the distance that separates cell borders Sets the position of the table caption Sets whether or not to show empty cells in a table Sets the algorithm used to display the table cells, rows, and columns
Sets the color of the text Sets all font properties in one Sets the font of an element Sets the font-size of an element Sets/adjusts the size of a text Sets how to condense or stretch a font Sets the font-style of an element Displays text in a small-caps font Sets the boldness of the font Sets the space between characters Sets the distance between lines Sets which quotation marks to use in a text Aligns the text Sets the decoration of a text Indents the first line of text Sets the shadow effect of a text Sets capitalization effect on a text Sets how to handle line-breaks and white-space in a text Sets the space between words in a text
accessKey Cols defaultValue defaultValue Disabled Form Id Name readOnly Rows tabIndex Type Value
Sets or returns the keyboard key to access a textarea Sets or returns the width of a textarea Sets or returns the default text in a textarea Sets or returns whether or not a textarea should be disabled Returns a reference to the form that contains the textarea Sets or returns the id of a textarea Sets or returns the name of a textarea Sets or returns whether or not a textarea should be read-only Sets or returns the height of a textarea Sets or returns the tab order for the textarea Returns the type of the form element Sets or returns the text in a textarea