Answers for "jquery get textarea value"

0

get ckeditor textarea value in jquery

<textarea name="DSC" class="materialize-textarea"></textarea>
<script>
  CKEDITOR.replace('DSC');
  </script>

var desc = CKEDITOR.instances['DSC'].getData();
OR:

var desc = CKEDITOR.instances.DSC.getData();
Posted by: Guest on July-14-2020
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

jquery get textarea value

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language