Displaying 1 result from an estimated 1 matches for "targettextarea".
2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
...nding to the text area anymore)
With Opera 9.02, the select control doesn''t work at all.
1) Does prototype do anything "internally" differently for whatever
it''s equivalent of
var txtNode=document.createTextNode(selectValue);
var textArea=document.getElementById(targetTextArea);
textArea.appendChild(txtNode);
is ?
2) Should I be using some other way of accessing the textarea other
than the "appendChild" method?
Any other ideas appreciated.
Mike
============================== http://snippets.dzone.com/posts/show/4465
=======
This code DOES work in I.E6...