Fixes potential collisions between jsonp requests from different jQuery instances...
[jquery.git] / src / ajax / jsonp.js
index 16a4c2f..cbe3680 100644 (file)
@@ -7,7 +7,7 @@ var jsc = jQuery.now(),
 jQuery.ajaxSetup({
        jsonp: "callback",
        jsonpCallback: function() {
-               return "jsonp" + jsc++;
+               return jQuery.expando + "_" + ( jsc++ );
        }
 });