However, i want to create something beautiful, but i cant clearly find the correct way doing this.
So, i got a page in which <p> elements are rendered and next to them there is a submit button.
If that button is clicked i would like the html text <p> to turn into editable text[ maybe textfield ? ] and save its new text on the Database.
I would start thaht script by catching an event when the submit button is clicked, but then how am i supposed to turn the html element into other type of element or something like this ?
Any guidance through this would be nice.
This post has been edited by s0me0ne: 01 February 2012 - 02:43 AM