Answer the question
In order to leave comments, you need to log in
What jQuery plugins do you use to make your life easier?
To work with jQuery, by default, I take jquery-cookies into every project, and then I realized that there are more opportunities to make my life easier. But fantasy doesn't work.
Recommend a plug-in or better several at once - a set to simplify life. Something that can be safely included in every project. Well, plugins like jquery-cookie.
Answer the question
In order to leave comments, you need to log in
Pretty good almost everywhere
jQuery.fn.exists = function () {
return this.length !== 0
}
jQuery.expr[":"].ContainsIgnoreCase = jQuery.expr.createPseudo(function(arg) {
return function( elem ) {
return jQuery(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question