wrap

Jump to: navigation, search

wrap

This article is Almost Ready.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


Applies to  ?


Compatibility

There is no data available for topic "html", feature "wrap". If you think that there should be data available, consider opening an issue.

Examples

View live exampleThis example dynamically sets the wrap property of a textArea to the value selected by the user.

<SCRIPT>
function ChangeWrap(oSelect, oTA)
{
    cValue = oSelect.options(oSelect.selectedIndex).value;
    oTA.wrap = cValue;
}
</SCRIPT>
...
<SELECT ID=cboWrap onchange="ChangeWrap(this, txt1)">
<OPTION VALUE=soft>soft
<OPTION VALUE=hard>hard
<OPTION VALUE=off>off
</SELECT>
<P>
<TEXTAREA ID=txt1 STYLE="height:200;width:200"></TEXTAREA>

Notes

Remarks

To detect the difference between soft and hard you must submit the content within the textArea to an HTTP server.

Syntax

See also

Related pages (MSDN)

  • textArea

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]