How can i get selected text in web page and put it on textbox?
This is the text that i want to copy.
This the page source of the web page
<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y = 8 Solving for variable 'x'. Move all terms containing x to the left, all other terms to the right. Add '-3y' to each side of the equation. -2x + 3y + -3y = 8 + -3y Combine like terms: 3y + -3y = 0 -2x + 0 = 8 + -3y -2x = 8 + -3y Divide each side by '-2'. x = -4 + 1.5y Simplifying x = -4 + 1.5y</pre> </div> <div class="status"> Processing time: 1 ms. 26878127 equations since February 08, 2004. <a href="/calculators/quality.htm">Disclaimer</a> </div> </div>