Demo entry 6634771

风格化

   

Submitted by anonymous on Aug 14, 2017 at 10:42
Language: JavaScript. Code size: 505 Bytes.

  getTime: function(callback) {
            $.ajax({
                type: "POST",
                url: "/hd_gis/getZxTime.action?ywbz=dyz",
                success: function(response) {
                    if (dojo.isFunction(callback)) {
                        callback(response);
                    }
                },
                error: function(error) {
                    throw (error);
                    throw ('ajax查询超时或其他错误!');
                }
            });
        },

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).