Browsing Category
jQuery
22 posts
jQuery live() shim for jquery-migrate 3+
jQuery version 3+ removed jQuery's function $.live() and if you are using some old CMS/shopping cart (like Interspire) that…
RequireJS example – loading desktop vs mobile javascript libraries and overriding functions
RequireJS is a JavaScript library that is used to load other JavaScript files in certain orders based upon…
Javascript setTimeout() function jquery examples and chaining it with afterTime() plugin
javascript setTimeout() function It takes two arguments. Callback function to execute after milliseconds supplied. Milliseconds - after how…
jQuery :contains() selector regex for matching text within elements
jQuery contains() selector simply matches text within selectors. It's also case-sensitive, so we have very limitation for…
How to manipulate cookie of array, object and json datatype using jQuery Plugins?
What's Cookie A Cookie is a small amount of key value-based browser storage used to store tiny data…
How to sort HTML table rows using different jQuery plugins?
There are many jQuery plugins available to deal with table. They provide capability of sorting, paginating, filtering tabular…
jQuery Fake AJAX requests for ajax testing using mockjax plugin
Why fake AJAX requests at first place? Sometimes, JavaScript application needs to communicate heavily with network and testing…
jQuery toArray() function vs pure javascript code example
jQuery toArray() method toArray() method applies to matched jQuery DOM elements. It returns an array of these matched…
Object doesn’t support property or method ‘indexOf’ in IE 8 – Fix
This error usually comes, if you tested your code in all modern browsers but missed in earlier version…
How to know if HTML checkbox is checked in any version of jQuery
Many plugin developers face the difficulties, when core library upgrades and needs plugin code migration. Whenever new version…