insert into Database on every EditInPlace In JQuery
<p>How to insert into database on every editInplace in JQuery..</p>

<pre><code>               &lt;script type="text/javascript"&gt;
                   var increment = 0;
  $(document).ready(function(){
                       $(".menu a").click(function () {
                        increment++;
   $("&lt;div&gt; Label &lt;/div&gt;").appendTo(".menu li").addClass("div" + increment);
              $(".div" + increment).show(function () {
      $(".div" + increment).editInPlace({
    url: "./server",
    show_buttons: true
           });//editinplace

             });//show
               });//click
            });
    &lt;/script&gt;
</code></pre>
