Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .bind("select_node.jstree", function (event, data) {
- var id = data.rslt.obj.attr("id").replace("node_", "");
- $("#response").load( "functions/jstree/my_actions.php?action=load_response&id=" + id );
- })
- <form method="POST" action="">
- //if using instead of $id something else, like static phrase (edit_content or body),
- // under such conditions next click return error...
- //Error: uncaught exception: [CKEDITOR.editor] The instance "edit_content" or "body" already exists.
- <?php echo $CKEditor->editor($id, $r['body']); ?>
- <input type="submit" value="Edit" id="update" name="update">
- </form>
Add Comment
Please, Sign In to add comment