Don't Forget the Namespace
Wed, 01/28/2009 - 14:35 — Mark
I spent several hours yesterday struggling to figure out why jQuery wasn't working correctly on a site I'm working on.
On sites that already have a lot of javascript there are usually a few issues with jQuery, but I was stumped on this one.
Finally a Google search revealed that the $ (dollar sign) namespace was already being used by another set of functions.
A quick find and replace of $ -> jQuery in my jquery document and everything started working smoothly.
Comments
Post new comment