Please consider donating: a local project in memory of my daughter

Archive for the "jQuery" Tag

Fixing IE overflow problem

Until recently, I didn’t know IE (both 6 and 7) had an overflow problem. But it does. I found it on my personal blog, and my pet project: jQuery for Designers – it’s particular visible because I use a lot of code examples. Here’s a detailed account of the problem, and it’s fix.

Ajax validation pattern

Inline form validation is the way forward with any web site today, and I’ve found I’ve been able to extract this process out in to a simple plugin that can be applied anywhere throughout my code using the the following pattern.

jQuery Tag Suggestion

If you’re familiar with del.icio.us you will be familiar with the tag suggesting as-you-type support. The reason why, I believe, the tagging works so well within del.icio.us is that it helps you create a subset of tags that you commonly use for different types of links. This way, it makes it easier to find tagged [...]

Prototype and jQuery – going from one to the other

During a conversion with John Resig at the FOWA he mentioned it would be useful to have a tutorial that explained what jQuery doesn’t do that Prototype does and visa versa, and in particular how X process is done in each library.

What is JSONP?

jQuery 1.2 introduced JSONP support, but on initial read of the release notes, I wasn’t completely sure what it was – so for anyone else that might want the Dr Seuss explanation. JSONP is script tag injection, passing the response from the server in to a user specified function

Catch click events before the DOM is loaded

I’m currently working on a project that’s heavily JavaScript driven. One of the key goals of the project is to get the user to click a bright yellow button (I won’t go in to any more detail than that). The button is perfect, it’s eye catching and when you see it, you just want to [...]

Auto-populate multiple select boxes

To follow on from Auto-populating Select Boxes using jQuery & AJAX, I’ve had more than a few requests for how to do this for multiple select boxes. In response, I’ve written a jQuery plugin and have included a simple example of three select boxes populating each other driven by a MySQL database.