MSIE 8 textareas:
textarea.value == textarea.innerHTML == textarea.innerText
Opera:
textarea.value == textarea.innerText; textarea.innerHTML == undefined
Firefox, Safari and Chrome: value only
MSIE 8 textareas:
textarea.value == textarea.innerHTML == textarea.innerText
Opera:
textarea.value == textarea.innerText; textarea.innerHTML == undefined
Firefox, Safari and Chrome: value only
Additional differences:
Safari and Chrome default to resizable. Specify style "resize:none" if you don't want this.
Long input without spaces: Opera does not break except with space or hyphen; adds horizontal scroll bar. Chrome, Firefox, MSIE and Safari break.
MSIE defaults to ghost vertical scroll bars. These become activated as necessary. Others have no scroll bars unless necessary.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.