Jeditable 0.9.0 – In Place Editor for jQuery

It has been a while since I last was really excited about something. Few days ago I found jQuery.

jQuery states itself as New Wave JavaScript. I have had experience with prototype and script.aculo.us. Both are great libraries. However I never felt comfortable them. I just used them.

With first impression about jQuery’s syntax is bit confusing:

$(document).ready(function() {
    $("a[@href*=/foo/bar]").click(function() {
        alert('Click.');
    });
});

After reading that jQuery’s main developer John Resig is also a Perl coder it all makes sense. I assume the fact that I did code Perl “back in the days” makes me feel comfortable also with jQuery.

InPlaceEditor

While converting old prototype + script.aculo.us projects to jQuery + interface combinations I also needed an InPlaceEditor plugin. Searching Google revealed several but none of them had all features I needed. Especially possibility to use Textile or Markdown rendering.

So i took the one which i liked to most: Dylan Verheul’s editable. and made a rewrite. Result is Jeditable. At the moment main features are:

  • Editable element does not need to be wrapped with form tag.
  • Id of edited element is automatically sent when saving changes.
  • Can be used with external xhtml renderers such as Textile, Markdown, ReST or any WiKi renderer.
  • Build to be reuseable. Does not include any visual efects.

You can check live demo and download Jeditable. Bug reports are welcome!

Tagged with: Javascript   Jeditable   Jquery  

Most read tags

Lazy Load   Ruby   AVR  
Electronics   JavaScript  
Jeditable   Maps   jQuery  
Facebook   HTML5   Chained  
Estonia  

Google+