Answers for "get textarea value jquery"

2

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
3

capture textarea value

<textarea id="myTextarea">
Hello World
</textarea>

<script>
  var x = document.getElementById("myTextarea").value;
</script>
Posted by: Guest on April-13-2020
-1

get value of textarea jquery

$("textarea").val()
Posted by: Guest on December-04-2020
-1

get textarea value jquery

var message = $('textarea#message').val();
Posted by: Guest on January-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language