Jquery Editable Example - Jquery

How to use editable in jquery ?

Snippet Code

Rate this page :
  [ 0 votes]

This sample jquery code allows you to edit the content by clicking on the elements. The simple jquery code to edit content is given below.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script src='http://www.appelsiini.net/projects/jeditable/jquery.jeditable.js'></script> <script> $(document).ready(function() { $('.edit').editable('http://www.example.com/save.php', { indicator : 'Saving...', tooltip : 'Click to edit...' }); }); </script> <div class="edit" id="div_1">Edit Me..</div>


Ask Questions

Ask Question