Excuse me, I am using the jsapi interface on the internet. I cannot execute $. ajax in the micro-network.

Source: Internet
Author: User
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












Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.