joined:Aug 2, 2012
I'm just starting with Ajax. and I'm having a conceptual problem.
I have a form which submits a query, using Ajax. The Ajax is called via "onclick", so the page does not replot (of course). The called JSP file does the database query, formats the results into a table, and returns the table as a string of HTML code.
The Ajax routine then puts the generated code in the proper DIV, and ta-da, results! So far, so good.
But if the user hits "Refresh", away the results go!
Question: how do I make the results "stick", so they're properly recognized by Reload? Or is that even possible?