11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

}<br />

field.value = revertField;<br />

//-->><br />

field.focus();<br />

<br />

<br />

<br />

<br />

Comments:<br />

<br />

Try entering 10 more characters to surpass the 100 character limit<br />

on this field, then click outside the textarea.<br />

<br />

<br />

<br />

<br />

<br />

Note A troublesome aspect of the tag is that the wrapping of text is not<br />

supported in a standard way between browsers. <strong>The</strong> nonstandard wrap attribute can be<br />

set to a value too ―soft‖ to enforce word wrapping in most browsers. Oddly, HTML 4.0 and<br />

the DOM do not address this issue, but most browser <strong>JavaScript</strong> object models typically<br />

support access to this HTML property. If word wrapping behavior is critical to your<br />

application, you will have to address the issue on a browser-by-browser basis.<br />

Checkboxes and Radio Buttons

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!