开发者

DOJO 'TypeError:Cannot read property 'style' of null' error response while sending xhrPost request

I am using DOJO framework to submit form details to server. xhrPost method is use开发者_运维知识库d to submit the form to server.JSON message format is used.

When this works in most desktop browsers and some mobile browsers, I am getting error

TypeError:Cannot read property 'style' of null

consistently with some mobile devices.

Pl help.


Try wrapping the dojo code in:

dojo.ready(function(){
    ...
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜