Why is the I of/yes.gif/I used here, and what does ajax. call mean ???
------ Solution --------------------
Ecshop?
Var res = Ajax. call (this. url, "act =" + act + "& val =" + val + "& id =" + id, null, "POST", "JSON", false );
This is a method that has been blocked. it can be seen from the parameters.
This. the url is the request url.
Intermediate act = &...
POST method, return the JSON type
Null and false may be the callback function.
(Obj. src. match (/yes.gif/I ))? 0: 1;
This is a set of three items. check yes.gif in the src object.
/I is case-insensitive and is a regular expression content
If yes.gif exists in src, 0 is returned. otherwise, 1 is returned.
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.