my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 9345


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
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