Create a (edit) hyperlink in front of dropdownbox with jQuery

Posted by CziX on Stack Overflow See other posts from Stack Overflow or by CziX
Published on 2010-01-22T11:35:48Z Indexed on 2010/05/28 10:01 UTC
Read the original article Hit count: 136

Filed under:
|
|

I have a table with some data. All data is contained in dropdownboxes and textbox. But it isn't easy to see, what is newly written input and what is data from the database.

So I want to create a (edit) after these boxes, and replace the boxes with a literal where the contained value in the dropdownbox stands. When the edit-button is pushed the literal goes away and the dropdownbox appears instead, so it is possible to edit the data. This is all, the jQuery don't have to save the data to database, I have functionality to that in a save-button.

I don't want to use any extra plugin to jQuery, because it seems to be a fairly simpel task.

Any good ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery