I have an image button and when I click it I want an specific field to go from text to an editable textfield, kinda like a dynamic edit button.
So I have the plain text with certain id (ie. id="text1") and when I click the button, the text changes to an editable field, maybe something like $("#text1").hide();
and then $("#field1").show();
but in between I need to give the field the value of the text, and then when I click the button save I should hide the input field and just show the text with the new value.
Any help will be greatly appreciated.
Thanks :D