can any one help me on this?
I got a .aspx page designed with two text area controls and a list box control.
<td>
<p>Base Entity Attributes</p>
<select name="drop1" id="SelectGroupApiS" size="4">
</select>
</td>
<td>
<p>REQUEST XML</p>
<textarea id="txtAreaRequest" rows="" cols=""></textarea>
</td>
<td>
<p>RESPONSE XML</p>
<textarea id="txtAreaResponse" rows="" cols=""></textarea>
</td>
And when I click on any listbox item I made the current text of listitem to be in TextArea using jquery. But I want the text to be in the textbox that contained the cursor position.
currently i made to be in single textbox. I want now the text to be displsyed in the one of the two text box that contains the cursor position.
How to do make it happened?
Help me plss
Fiddle http://jsfiddle.net/tariqulazam/LBkcV/
HTML
JavaScript