File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Display result is reverted back  (JSP and JQuery) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Display result is reverted back  (JSP and JQuery)" Watch "Display result is reverted back  (JSP and JQuery)" New topic
Author

Display result is reverted back (JSP and JQuery)

Yashwant Palkar
Greenhorn

Joined: Dec 01, 2010
Posts: 20
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??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display result is reverted back (JSP and JQuery)