Looking for jquery plugin for forms within tables?

n00b0101
n00b0101 used Ask the Experts™
on
Been googling like a madwoman, but haven't been able to find exactly what I'm looking for.  I want to create a table where, upon clicking on a row, will enable the form for editing.  Anyone know how to accomplish this?  Don't know if jquery has something or not...


<!-- BEFORE CLICKING ON THE ROW -->
<table>
<tr><td>Value from database</td></tr>
</table>
 
<!-- AFTER CLICKING ON THE ROW -->
<table>
<tr><td>
<form id="sa1" action="process.php" method="post">
<input type="text" name="something" value="Value from database" />
<input type="submit" name="update" value="Save" />
</form>
</td></tr>
</table>
 
 
<!-- There will be many rows, this is just a sample -->

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hello,

It looks like you're looking for something like this:

http://josephscott.org/code/javascript/jquery-edit-in-place/

Or, here are the top 10 scripts that achieve this:

http://webtecker.com/2008/03/06/10-edit-in-place-ajax-scripts/

I've used about half of them and they all have their little quirks or require minor tweaks, but all in all are fantastic additions to any script.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial