Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($)
- {
- $.fn.removeStyle = function(style)
- {
- var search = new RegExp(style + '[^;]+;?', 'g');
- return this.each(function()
- {
- $(this).attr('style', function(i, style)
- {
- return style.replace(search, '');
- });
- });
- };
- })(jQuery);
Add Comment
Please, Sign In to add comment