zap-devel mailing list
To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com.
Likewise, to unsubscribe, send a mail with subject 'unsubscribe'
to zap-devel(at)croczilla.com.
|
[
AJAX on zap / "said nabirh" ... ]
[
Incompatibilities btw tagged and non-tagged files ... ]
Re: [zap-devel] AJAX on zap
Alexander Fritze <alex(at)croczilla.com> |
2007-06-28 11:48:18 |
[ FULL ]
|
said nabirh wrote:[...]
It should work fine. You are using XMLHttpRequest?
Cheers,
Alex
[...]
|
Re: [zap-devel] AJAX on zap
"said nabirh" <nabirh(at)gmail.com> |
2007-06-28 11:52:05 |
[ FULL ]
|
yes, here's the example :
function test(){
var xhr=null;
xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() { getList(xhr); };
xhr.open("GET","http://site.com/test.php", true);
xhr.send(null);
}
function getList(xmlhr){
if (xmlhr.readyState==4) {
document.getElementById("ajaxtest").value = xmlhr.responseText;
}
}
// dans le corps du fichier XUL
<button id="test" label="test" oncommand="test();" />
<label id="ajaxtest" value="test" />
2007/6/28, Alexander Fritze <alex(at)croczilla.com>:[...]
[...]
|
|
|
Re: [zap-devel] AJAX on zap
"said nabirh" <nabirh(at)gmail.com> |
2007-06-28 13:53:51 |
[ FULL ]
|
Found :
Firewall problem.
2007/6/28, said nabirh <nabirh(at)gmail.com>:[...]
[...]
|
|
|
|
|