只显示主题贴
XHR
has limitations. The big one is that
url:
is not cross-domain: you can't submit the request
outside of the current host (eg: to
url:"http://google.com"
). It is a known limitation
and a common mistake when getting excited about Ajax.
dojo.xhrGet
...
- 进入论坛 AJAX 版
1)dojo.addClass(node:
DomNode|String
, classStr: String
)
添加某class到节点,
var node=dojo.byId('divv');
dojo.addClass('divv', 'color');
dojo.addClass(node, 's1');
2)var bool =
dojo.hasClass(node: DomNode|String
, classStr: String
)
...
- 进入论坛 AJAX 版
- 浏览: 5177 次
- 性别:

- 来自: 厦门

- 详细资料
搜索本博客
我的相册
inter
共 2 张
共 2 张
最近加入圈子
最新评论
-
dojo and ajax
很有用的函数!!
-- by cscs31 -
Dojo 与style相关的函数 ...
Lz能加上一些注解和例子就更好了:)
-- by cscs31






评论排行榜