Answers for "how to bind text to textarea in jquery"

1

jquery get textarea text

$('input#mybutton').click(function() {
    var text = $('textarea#mytextarea').val();
    //send to server and process response
});
Posted by: Guest on May-30-2020
0

append textarea jquery with value

var $edit = $("#edit");
var curValue = $edit.val();
var newValue = curValue + "whatever new stuff here";
$edit.val(newValue);
Posted by: Guest on April-11-2021

Code answers related to "how to bind text to textarea in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language