PDA

View Full Version : change html into a text box...



suresh.sivanantham
15 Aug 2009, 2:53 AM
i have a html widget with some text... when user click on that it should change as a text box with html's text value... this is my requirement..........
i sunk click event for html widget.... but i dont know how to hide html text and insert text box into html widget...when it lost focus it should change back as html with new value entered in text box... can any one help me in this.....

sven
15 Aug 2009, 3:40 AM
You can use the editor class for this. On click call for editor.startEdit. Bluractions are already implemented.

suresh.sivanantham
15 Aug 2009, 6:15 AM
thank u bsven....
i havn't tested it.... but hope itll work ...thanx again..........