This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display result is reverted back (JSP and JQuery)

 
Yashwant Palkar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic