;(function($) {


	$.fn.textedit = function(handler)
	{
		return this.each(function()
		{
			var e = $(this);
			e.keyup(function()
			{
				if(e.data('lastValue') != e.val())
				{
					e.data('lastValue', e.val()).each(handler);
				}
			})
		});
	};



})(jQuery);

