Hiren Kukadiya

How to add Chosen after add more element

Remove chosen from added element. $(“#masterCats_chzn”).remove(); Remove and add new class for added element. $(“#masterCats”).css({display: “inline-block”}).removeClass(“chzn-done”).addClass(“chsn“); Initialize chosen. $(“.chsn“).chosen();Read more …
dhavalp

Gloabal ajax request loader functionality

We can use defaul jQuery-ajax method for display ajax loader on multiple ajax request by using below formula. var activeAjaxCount = 0; $( document ).ajaxStart(function() { activeAjaxCount++; $(‘#msg_writter’).show(); }); $( document ).ajaxComplete(function() { activeAjaxCount–; if (activeAjaxCount == 0) { $(‘#msg_writter’).hide(); } });Read more …
Harrisonm

All Online Tools

Below a collection of free online tools that I have been using for a while. I’ve found them useful and I hope that other users and developers find them useful too. http://beautifytools.com/Read more …