File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery AJAX display issue" Watch "jQuery AJAX display issue" New topic

jQuery AJAX display issue

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10031


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!
I agree. Here's the link:
subject: jQuery AJAX display issue
It's not a secret anymore!