/**
 * jquery.enable.js
 *
 * Adds $().enable() and $().disable() for form elements
 */

(function($)
{
	$.fn.enable = function()
	{
		$(this).removeAttr('disabled');
		return $(this);
	};
	
	$.fn.disable = function()
	{
		$(this).attr('disabled', 'disabled');
		return $(this);
	};
})(jQuery);
