G
Geoff Cox
Hello,
I am trying to get XMLHttpRequest etc to send a javascript variable to
a php file which will search a MySQL database but I want the results
to appear in a different frame.
How can I do this?!
Using a different approach I can get this to work.
window.parent.frameright.location.href = etc
where the different frame is called frameright.
I need an equivalent method with
function startRequest(url) {
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
In other words how do I get frameright as the target for the above
url?
Ideas please?
Cheers
Geoff
I am trying to get XMLHttpRequest etc to send a javascript variable to
a php file which will search a MySQL database but I want the results
to appear in a different frame.
How can I do this?!
Using a different approach I can get this to work.
window.parent.frameright.location.href = etc
where the different frame is called frameright.
I need an equivalent method with
function startRequest(url) {
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
In other words how do I get frameright as the target for the above
url?
Ideas please?
Cheers
Geoff