Create a gist now

Instantly share code, notes, and snippets.

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