how to send text from textarea in to the HTML code while typing ?
i would like send text from textarea in to the HTML code and then send it to some div, i using this to live prev
$("#par01par03text textarea").keyup(function(event) {
var stt=$(this).val();
$("#par01Text").text(stt);
});
sending from here
<div class="inputWraper clearfix">
<input type = "radio" name = "wykladzina" id = "par01par03" value = "" />
<label id="par01par03Label" for = "par01par03">Inne:</label>
<p id="par01par03text" class="formP"><textarea></textarea></p>
</div>
to here
<p id="par01Text"></p>
but i would like to send it in to the HTML code too
do help me pls
Below Code Working Fine.
HTML:
Script: