There is insufficient information here to help you out. I recently created an AJAX code that would dynamically create a table and populate its table data. Could that be what you are trying to accomplish.
chances are your AJAX script is breaking down before you even get to the response text. what I would recommand is to test the script by inserting a series of alerts up to the point where you are expecting certain result. For example, when I test my AJAX code, I checked to see if my object is created by alerting the object. If it is created, then I test the readystate to see if the value is equal to 4 and so on.
can you post your entire AJAX code in here so we can look at it?
One problem that I noticed right away is that your getTable() method is evaluating the the state of xmlReq within the if statement but you are assigning it a value of 4 rather than evaluating it to 4. So make this correction and try to run the script again.
if(xmlReq.state == 4)
Second, I am not sure that you can use the word state instead of readystate, so you might want to experiment to see which on works.
While you are working on the aforementioned fix, I'll try to see what else is wrong with the code.
hi all im wondering what i can do to stop this happening
every time i click submit on a form all this come in address bar after file name ...