cbrune
asked on
jquery to display a textbox over a li element to edit it
How do I using jquery display a textbox over a li element to edit it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I imagine you could have a hidden textbox within the <li>, like so:
Open in new window
Then, to edit the <li>, you would click the "Edit" button to:
1) Set the value of the hidden textbox to the text within the <p> element.
2) Hide the <p> element.
3) Show the hidden textbox
4) Change the text of the edit button to show that you are saving changes.
Open in new window