Markus Hedlund

jQuery Inline Edit

2009-05-23

And then I released my first jQuery plugin. What jQuery is? Oh, it's just the greatest Javascript framework evah, it makes Javascript programming so much more fun!

The plugin, called Inline Edit, makes it a lot quicker to implement edit and remove functions. It can turn any dynamic data list into a click-and-edit list.

Try and download it at labs.mimmin.com/inlineedit!

If you have comments, missing features or bug reports: please add a comment!

Comments

Jonathan 29 Oct 09
Have you considered adding the ability to set max field lengths or other options to the input tags? I think I'm going to do try that now. Somehow....
Tracy 29 Oct 09
Forgive me as I'm new to javascript, but is the type (categoryName) arbitrary? When I try to edit the data, I can get the ID to post, but the data itself does not seem to post.
Me 29 Oct 09
Jonathan:
I've been weighing whether to implement a template option, to allow custom markup. But since I haven't been using Inline Edit for a while, this has low priority. Did you ever manage to solve this (I realize my response is late, my apologize)?

Tracy:
I'm not sure what you mean. The categoryId is sent by GET, and the data is sent by POST. This is maybe not the optimal way, but that's how it is designed :-) This should be in the documentation, I will update it.
amarushakur 21 Feb 10
my page uses a php script to display a table of records from a databse. i need help so that if a user clicks on a row, the fields become editable and the edited contents are validated both at the client side and server side before it is finally saved. Please help me. its my final year project.
Me 21 Feb 10
I'm sorry, this plugin does not currently support clientside validation. But this should be quite easy for you to implement though, if you know some Javascript!
Rohn 08 Jul 10
how would you initiate the edit by having an edit button for each row? It's needed for 508 compliance.
Me 12 Jul 10
Sorry, that is not supported, since it doesn't have an API yet.

Post a comment

Is required but won't be published
© . Created with Mimmin Clarity.