How could I change the value of a text area through jQuery. Here is a sample:
var content = "Hello World";
//Code to set the value of the
text area to content here.
How would I do this through jQuery or just javascript? An answer is appreciated, thanks.
I tried this:
var txtArea = document.getElementById('aTextArea');
txtArea.value = rolls;
However, that was just a shot in the dark.
Assuming your textarea as
jquery code to update textarea value would be
jsfiddle: http://jsfiddle.net/bhatlx/PuWH4/1/