Ask me to use the jsapi interface of the Internet, and cannot execute $ in the micro-network station. the ajax Post was last edited by yang131261 from 2014-04-1909: 16: 14. I used the Custom Function & nbsp; in the api & nbsp; of aligreennet js and cannot be executed $. ajax & nbsp; sucess & nbsp; or & nbsp; er asks me to use the jsapi interface of the Internet, and cannot be executed on the micro-network station $. ajax
This post was last edited by yang131261 at 09:16:14
I can't execute the custom functions in the api interface of aliwangjs $. ajax sucess or error. no output is made.
Script
Function ccd (evt ){
Var url3 = "http: // xxxxx/index. php? G = Wap & m = Card & a = ajax_fenxiang3 ";
// Var url2 = "{lanrain: U ('card/ajax_fenxiang ', array ('token' = >$ _ GET ['token'], 'wecha _ id' = >$ _ GET ['wecha _ id'])} ";
$. Ajax ({
Type: "GET ",
Url: url3,
ContentType: "application/json; charset = utf-8 ",
DataType: "json ",
Success: function (result ){
Alert (111 );
},
Error: function (msg ){
Alert (333 );
}
})
}
Var jiathis_config = {
BoldNum: 0,
SiteNum: 7,
ShowClose: false,
Sm: "t163, kaixin001, renren, douban, tsina, tqq, tsohu ",
ImageUrl: "http://v2.jiathis.com/code/images/r5.gif ",
ImageWidth: 26,
MarginTop: 150,
Url: "http://www.jiathis.com ",
Title: "custom TITLE # Weibo topic #",
Summary: "shared text summarization ",
Pic: "custom shared image connection address ",
Data_track_clickback: true,
Evt: {"share": "ccd "}
}
Script