Bear Bibeault wrote:When not using the table, what do you return?
Paul Clapham wrote:Perhaps I'm missing something, but what I see is this:
You start with a div whose id is "jspToChange". Then you execute an AJAX request which replaces that div with something else -- maybe a table, maybe something which isn't a table but we don't know what it is. But at any rate now you don't have anything in your DOM whose id is "jspToChange", so the next time you execute that AJAX request its result would be put into some default location. That could be at the start of the page, I suppose, I don't remember what happens when you use a nonexistent id value there.
Richard Le wrote:Hi Bear!
In both cases a return a JSP which is like this:
Paul Clapham wrote:Perhaps I'm missing something, but what I see is this:
You start with a div whose id is "jspToChange". Then you execute an AJAX request which replaces that div with something else -- maybe a table, maybe something which isn't a table but we don't know what it is. But at any rate now you don't have anything in your DOM whose id is "jspToChange", so the next time you execute that AJAX request its result would be put into some default location. That could be at the start of the page, I suppose, I don't remember what happens when you use a nonexistent id value there.