I tryed as bellow
var myjson = new Object();
var b = new String;
var c = new String;
b = '111';
c = 'hikisu';
myjson[c] = b;
var url = "test.php";
var myajax = new Request(url,
{method:'post',onComplete:function(my
string){
alert(mystring);
}});
myajax.send(myjson);
But I get bellow error, Please tell me why? thanks very much.
uncaught exception: [Exception... "Component returned failure code:
0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]"
nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS
frame ::
http://ss-proc/~WebTools/mooTree2_r18/dist/mootools/mootools-1.2-core.js
:: anonymous :: line 1842" data: no]
Wang Suya
> > - 引用テキストを表示 -- 引用テキストを表示しない -
>
> - 引用テキストを表示 -