Browsing Category
Tutorial
26 posts
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…
How to style HTML form fields using CSS 3 linear-gradient() function?
CSS 3 provides linear-gradient() function. That creates an image using options supplied into that function(). So, we can…
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…
Flat UI – Simple HTML tabs without jQuery or any other library
jQuery UI provides a simple way to implement HTML tabs. In this tutorial, I'll show how to implement…
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…
Tutorial – Inserting text and image content using CSS
Sometimes we don't have control over backend templates, or it doesn't seem feasible to update third-party plugins code…
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…