Home > Web Front-end > JS Tutorial > body text

jquery asynchronous cross-domain access code_jquery

WBOY
Release: 2016-05-16 17:30:53
Original
1012 people have browsed it

Copy code The code is as follows:

/*
$.ajax({
url : url,
type : 'POST',
data : {
CorpID : CorpID,
Pwd : Pwd,
Mobile : Mobile,
Content : Content,
Cell: '',
Sendtime: '
},
Async: TRUE, // asynchronous
Datatype:' Text ', //' Text ',' jsonp '
Success : function(data, textStatus) {
                               //alert(data); } else if (data == -1) {
              alert("Account not registered!"); Error.");
            } else if (data == -3) {
                              alert("Wrong account or password!");                                               alert("The mobile phone number format is incorrect!");
                                                                                                                                        ; == -6) {
                    alert("The scheduled sending time is not a valid time format!"); Send the same text message to your mobile phone number!");
                                                                                                                                                                                                     (data) {
          alert('Sending SMS: An error occurred while calling the SMS interface, please contact the administrator in time!'); >
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!