Hi...
I use remote request to communicate with PHP from qooxdoo.
Here is my code :
var d = qx.ui.core.ClientDocument.getInstance();
lyrketik = new qx.ui.form.TextArea();
lyrketik.set({ left: 1, top: 25, right: 1, bottom: 1 });
d.add(lyrketik);
var b1 = new qx.ui.form.Button("send");
b1.set({
top: 48,
left: 150,
height: 20,
width: 100
});
var req = new qx.io.remote.Request("ajaxtest.php", "POST", "text/plain");
b1.addEventListener("execute", function() {
req.setFormField("indexku", lyrketik.getValue());
req.send();
});
d.add(b1);
req.addEventListener("completed", function(e){
alert(e.getData().getContent());
});
it is allright when I press the send button for the first time. But if I press
that button for the second times,
MY IE browser will show an error that say "Object Expected" and the sending
process is failed. Why ?
Thank you very much
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel