Browsing Category
jQuery
22 posts
jQuery live() shim for jquery-migrate 3+
jQuery migrate 3+ doesn't include some of the legacy functions like $.browser() & $.live(). Here is a shim for jQuery 3+ so that your site won't break.
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…
Coding chrome desktop notification in jQuery
Google Desktop Notification is nothing new for gmail users, whenever new mail comes it notify you from rectangle…
jQuery Plugin – make jwplayer resumable for next visit and improve conversion
In my previous post I wrote jQuery plugin that resume flowplayer from the last played position. In this…
Tweet post or Facebook like to unlock the content using jQuery
jQuery Social Locker Plugin Yesterday, I was looking my facebook news feed. Then one of my friend liked Social…
Front-End Engineer in San Francisco – solved code interview questions
I’ve came to this site (via hacker news) had few frontend engineer’s job interview questions. I’ve try to solved…
Simple HTML5 geolocation plugin using jQuery
jQuery GeoLocation Plugin Ideally I’d like to handle HTML5 geolocation function graceful way using jQuery. $.geolocation(function (lat, lng)…
AJAX style multiple images upload using HTML5, JSON and jQuery
You might have seen at many places like Facebook or even in wordpress editor – “Add Media” section,…
Form auto-submission tips for jQuery
jQuery form auto submission with submit() method. jQuery provides method called submit() available to <form> Object. $('form').submit(); It…
JavaScript AJAX variables truncation issue FIX
Suppose you might have heavy ajax processing app that communicate between your server and application mostly with large…
HTML select element manipulation using jQuery
Jump to Topic Adding single option to combo-box Adding multiple options to Combobox Delete option element from HTML…
Native jQuery animations using pure JavaScript and CSS3
jQuery shipped with some basic animations like, fadeOut fadeIn slideDown slideUp If you want to implement it absolutely…
Flowplayer jQuery Plugin – resume from the last played position
Perhaps you might have seen many video on youtube especially long movie or music jukebox. If you close…
Cross browser exitsplash implementation using jQuery and CSS
JQuery Plugin – exitsplash Spoiler Alert – Don’t use “exit”, “popup”, “splash”, “exitsplash” word in your script-name. Browser…