Today I heard from John Resig on StackOverflow about how to clone objects using jQuery:
// Shallow copy var newObject = jQuery.extend({}, oldObject); // Deep copy var newObject = jQuery.extend(true, {}, oldObject);
Today I heard from John Resig on StackOverflow about how to clone objects using jQuery:
// Shallow copy var newObject = jQuery.extend({}, oldObject); // Deep copy var newObject = jQuery.extend(true, {}, oldObject);
Turned up this old document about HTTP Caching in Mozilla.