Revision: 8822
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 9, 2008 17:16 by trey
Initial Code
jQuery.fn.toggleText = function(a, b) {
return this.each(function() {
jQuery(this).text(jQuery(this).text() == a ? b : a);
});
};
Initial URL
http://dev.jquery.com/ticket/1092
Initial Description
Initial Title
jQuery toggleText
Initial Tags
jquery
Initial Language
JavaScript