Posted By:
zenith_wolf
Posted On:
Monday, August 27, 2007 03:29 PM
alert(getVal); document.getElementById("myForm1").innerHTML=getVal; } ]]> hey, I am trying to get ajax to get values from a jsp page when the html loads, but first time the page loads, it gives me an error saying "The data necessary to complete this operation is not yet available" for the xmlHTTPRequest.responseText but when i refresh the page, it loads perfectly! jsp tested and works so the problem resides in my ajax/html file. heres the html:
More>>
alert(getVal);
document.getElementById("myForm1").innerHTML=getVal;
}
]]>
hey,
I am trying to get ajax to get values from a jsp page when the html loads, but first time the page loads, it gives me an error saying "The data necessary to complete this operation is not yet available" for the xmlHTTPRequest.responseText but when i refresh the page, it loads perfectly! jsp tested and works so the problem resides in my ajax/html file.
heres the html:
<<Less