im tried many ways to summernote show the value from hidden textarea without any refreshing. if im refreshing textarea value shows on the summernote text editor. but i need without refreshing show the data in summernote of hidden textarea in javascript.
attached my code
<head>
<meta charset="UTF-8">
<title>Summernote</title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.js"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote.css" rel="stylesheet">
<script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.12/summernote.js"></script>
<script type="text/javascript" src="http://latex.codecogs.com/editor.js"></script>
<script>
$(document).ready(function() {
$('#summernote').summernote('content', { eqneditor : 'http://latex.codecogs.com/editor.js' });
jQuery('textarea.note-codable').attr('id', 'equ1');
//jQuery("#summernote").show();
jQuery("#summernote").on("focus", function(){
//jQuery('#equ1').val(jQuery('#summernote').val());
// $('.note-editable.panel-body').val($('#summernote').html());
// $(".summernote").summernote('triggerEvent', 'change');
});
// alert(jQuery("#summernote").val());
// alert(jQuery("#equ1").val());
// });
});
</script>
</head>
<body><div>
<p><a href="javascript:OpenLatexEditor('summernote','html','')">
Launch CodeCogs Equation Editor
</a></p>
<textarea id="summernote" rows="3" cols="40">
</textarea>
</a></p>
</div>
</body>
</html>```