In my JSP i have label and Edit button. once I click on Edit button the label should hide and text box should appear instead of label. As well as Textbox should have value same as Label.I have used JQuery for implementing this. my code is as follows
and JSP code is as follows
The result of this code is fine but it reverts backthe result.It shows label again and Text box dispappears.
I tried same JQuery code in HTML it woked fine.
Can anybody help me in this??
subject: Display result is reverted back (JSP and JQuery)