Pooh12
07-24-2008, 08:52 AM
Dear all,
i am looking for a way to use ajax to receive a value from another php script as a variable.
This works perfectly as long as I use the response in a <div>.
But I need to use the value in a variable to put it in a dropdown which consists of two variables of the calling script and one I wich to receive from another script.
I do it like this at the moment what I guess needs to be rwritten:
document.getElementById("partnerHint").innerHTML=xmlHttp.responseText;
Hope someone has got an idea
Brgds
Pooh12
i am looking for a way to use ajax to receive a value from another php script as a variable.
This works perfectly as long as I use the response in a <div>.
But I need to use the value in a variable to put it in a dropdown which consists of two variables of the calling script and one I wich to receive from another script.
I do it like this at the moment what I guess needs to be rwritten:
document.getElementById("partnerHint").innerHTML=xmlHttp.responseText;
Hope someone has got an idea
Brgds
Pooh12