This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
In my application a jsp page is there and when the jsp is getting loaded for the first time a j Query method is getting invoked and it is displaying the expand/collapse button.If I click on the expand button then it is displaying some message and changed to collapse and if I click on collapse the message is getting disappeared and the button itself is changed to expand again.
Please refer the attached image.
The jQuery code is given below
and in the jsp expand/collapse button display is like below
Please help me out