Category Archives: jQuery

Getting All jQuery Events for a DOM Node.

I have more than once found myself needing to know all of the events for a specific DOM node. In the past I have used which worked great for a time. The problem is that I am now working on … Continue reading

Posted in jQuery, jQueryUI, Uncategorized | 1 Comment

Cascading form require/validation

I ran into an interesting problem recently dealing with some complicated form validation. The issue was that we had several forms with fields that were required or optional based on if other inputs were filled out, with the requirements falling … Continue reading

Posted in javascript, jQuery, programming | 2 Comments

Duplicate IDs are baaaaaaaaaaaaaaad

If you are not already very aware, duplicate IDs in your markup are a very bad thing. Now, technically they will work fine in CSS, and can possibly even make it faster, BUT they WILL break your javascript. Basically when you have multiple elements with the same ID what the browser will do is unpredictable…Here is my solution to that problem. Continue reading

Posted in javascript, jQuery, programming | 4 Comments

Updates to my pub/sub

I have updated my pub/sub plugin.  The two changes are: It now uses the full words, publish, subscribe, and unsubscribe – this change was because with 1.5, jQuery now has a sub method which I do not want to overwrite. … Continue reading

Posted in javascript, jQuery, programming | Leave a comment

Got to hang out at Google for dayofjs

I got to go to the dayofjs conference (thanks MJG!) Not only was the conference really interesting, but I also got to hang out at Google which was cool. So, I snapped a few pics, as one does. This is … Continue reading

Posted in javascript, jQuery, programming | 2 Comments

Unit testing jQuery w/ QUnit

So, like most developers I love having unit test, but I hate writing them. Really figuring out the best way to write them and have them work well, is a pain in the ass, and that is what I hate. … Continue reading

Posted in javascript, jQuery, jQueryUI, programming, qUnit, Unit Testing | 4 Comments

Playing with CSS hooks

So, I wanted to give the new CSS hooks in jQuery a try. Unfortunately, the usually well documented jQuery has this as the total documentation on the hooks: As of version 1.4.3, jQuery’s CSS module was rewritten to provide a … Continue reading

Posted in javascript, jQuery, programming | Leave a comment

jQuery Live DOM sub/pub plugin

Updated 2/10/10 – for the updates to the plugin (See: here) I made a new jQuery plugin the other day, it is pretty simple, it expands on the idea subscribe/publish idea. Basically it allows you to bind subscriptions to DOM … Continue reading

Posted in javascript, jQuery, programming | Leave a comment