});
},
- // timeout (ms)
- //timeout: 0,
-
/**
* Set the timeout in milliseconds of all AJAX requests to a specific amount of time.
* This will make all future AJAX requests timeout after a specified amount
// Get the JavaScript object, if JSON is used.
if ( type == "json" )
- eval( "data = " + data );
+ data = eval("(" + data + ")");
// evaluate scripts within html
if ( type == "html" )