$.ajaxStart() not firing
If you use the above to show a nice loading message when an AJAX call is performed, you may have come across the problem that a JSONP request means the…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
If you use the above to show a nice loading message when an AJAX call is performed, you may have come across the problem that a JSONP request means the…
Say you want to use a selector to select all controls with a certain class, apart from a particular one. Use the not selector: $('.selectedClass:not(#exceptionId)').functions(); Sweet.
http://odyniec.net/projects/imgareaselect/ I have been using this excellent jQuery plugin which allows the user to draw a lasso around several objects to highlight then and bulk change them. However, they way…
If using Netbeans for your development and you have a horrendous spagetti coded “if” statement, you can use a keyboard shortcut to go to the matching opening or closing bracket.…
I always end up leaving debug code in my pages for one reason or another. One of which is console.log() for the firebug extension. Now, if you leave this and…
If like myself, you often attach functions to elements using jQuery, for example: $('.btnName').live('click', function() { //do something }); There is a nice little browser extension that will show all…
When creating a Zend Framework site, its always best to keep the Zend library as an external source. This way you can keep the branch up-to-date with the release of…
We all have to bind events to elements: $('#link).click(function(){ do some stuff }); But, what if that element doesn’t exist yet? Well, you can use the “live” handler: $('#link').live('click', function(){…
Just a simple function to sort an already populated list. Obviously it would be easier to sort before populating, but there are the odd occasion where this is more complicated…