views

Injecting jQuery into Views

I recently found myself needing to add a little jQuery to a views output element. While I could have gone through the process of adding "scripts[] = whatever.js" to my theme's .info file, it would have loaded the jQuery on every page, which was unnecessary.

Subscribe to RSS - views