search for: sendselectvaluetotextarea

Displaying 1 result from an estimated 1 matches for "sendselectvaluetotextarea".

2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
...trying to make of it is to hook it into the ''Instiki'' R.O.R. wiki // // With FireFox 2.0.04, this is working UNTIL something is manually typed into // the text area, then it stops working. // // It DOES work with IE6. // // It doesn''t work with Opera 9.0.2 // function SendSelectValueToTextArea(selectValue,targetTextArea) { var txtNode=document.createTextNode(selectValue); var textArea=document.getElementById(targetTextArea); textArea.appendChild(txtNode); } <select onchange="SendSelectValueToTextArea(this.value,''content'') --~--~---------~--~----~--...