Author Archives: Thomas Oscarson

Overriding jQuery Functions

In my last post I showed how to create a localized instance of jQuery that performed custom selection by handling ID selectors in a specific way. There are other parts of jQuery though that can have IDs passed in for arguments, such as the find and children functions. These functions can also be [...]

Posted in JavaScript, jQuery | Leave a comment

Customizing the Default jQuery Selector Behavior

jQuery on its own is a great JavaScript library that makes a lot of tasks simpler and easier.  Although as easy as it is you may find yourself needing to work within a restricted scope and not constantly wanting to have to include the context for every selector.  This exact case happened on our project. [...]

Posted in JavaScript, jQuery | Leave a comment