Skip to content

Instantly share code, notes, and snippets.

@fearphage
Created March 26, 2011 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fearphage/887921 to your computer and use it in GitHub Desktop.
Save fearphage/887921 to your computer and use it in GitHub Desktop.
jquery#setNative
(function($) {
$.fn.setNative = function(property, value) {
return this.each(function() {
return this[property] = value;
});
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment