dojo学习

1手动解析dijit部件

View Code

 

使用代理进行跨域访问

View Code
 dojo.xhrPost({url:"proxy.ashx?https://192.168.206.130/sharing/generateToken",postData : {
                username : "dubaokun",
                password : "dubaokun",
                ip : "",
                referer : "",
                client : "requestip",
                expiration : 525600000,
                f : "json"
            }}).then(function(res){
                console.log(res);
            },function(res){
                console.log(res);
            })
        })

 

  

 

 

     

posted on 2013-02-01 10:30  dubaokun  阅读(238)  评论(0编辑  收藏  举报

导航

新浪微博 新博客 Github