This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes jQuery AJAX display issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery AJAX display issue" Watch "jQuery AJAX display issue" New topic
Author

jQuery AJAX display issue

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

I have the following jsp page:



I submit the form to the same jsp page when the next button is clicked. When I land up in this page for the first time, the goBackDiv and the nextButtonDiv is displayed correctly. But when I click the next button, I see the goBackDiv and the nextButtonDiv appear twice (one the already existing ones) and the second one to my confusion, gets shown up inside the questionAndAnswerDisplayDiv div? Below is what the rendered HTML looks like:



SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
jQuery in Action, 2nd edition
 
subject: jQuery AJAX display issue
 
Similar Threads
Is there something better then event.pageX/Y?
Is it possible to put a button inside autocomplete in jquery ui plugin?
jQuery UI tabs not loading in the same tab
Problem on getting values from a radio buttons group
spaces while populating using s:iterator