Get value from text editor javascript
<input type="button" value="Get"> <textarea id="content" name="content">Data initial text</textarea> <script> $(':button').click(function() { var content = $("#content").val(); alert( content ); //some other ajax codes to save draft... }); </script>
Bikash Changed status to publish March 10, 2021