php - how to get content in kindeditor through js -


i using kindeditor store data , passing value in js .. working while editing not getting content update....

<script>      var editor;     kindeditor.ready(function(k) {               editor = k.create('textarea[name="eventcontent"]', {             allowfilemanager : true,             langtype : 'en'         });          k('input[name=gethtml]').click(function(e) {             alert(editor.html());         });          //here         var eventcontent = (editor.html());     }); </script>  var eventcontent = (editor.html()); 


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -