开发者

Does mootools 1.1 support request method OTHER than get and post?

I'm trying to do the following:

new Ajax('http://..开发者_运维知识库..', {

  method: 'delete'

}).request();

The request method when inspected in my php code shows that it is defaulting to POST.

Am I correct to assume that other methods outside of get and post are NOT supported?

ps. I had a quick look in the mootools src file and I can't see any mentions of delete


No, it does not support anything besides 'get' and 'post'.

http://docs111.mootools.net/Remote/XHR.js

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜