Posts About jQuery

Pop up PDFs in a new window with jQuery

Thursday, August 5th, 2010

I was looking for a good way to pop up all PDF links in a new window and ran across PDF links open in a new window”>Dennison Uy’s post with code.

But I did modify his code slightly. Read on for what I did and why.

Read the rest of this entry »

Wheels is only a hammer

Thursday, October 8th, 2009

My posting this is a seriously delayed reaction. But I must admit that I was using Wheels as a hammer and trying to treat a problem like a nail when I wrote about creating a Wheels partial for setting form focus.

Read on to see where I went wrong.

Read the rest of this entry »

Wheels + jQuery partial for setting form focus

Tuesday, August 25th, 2009

You’ve seen it before: you get to a login screen, and the cursor automatically jumps to the username box so you can just start typing. It’s very convenient.

But developers seem to screw this up regularly. I’ve seen it implemented so poorly that it becomes highly unusable and opens potential security problems.

I’ll take some time to show you how I implemented this in jQuery and then encapsulated it for reuse within a partial in ColdFusion on Wheels.

Read the rest of this entry »

My first usage of jQuery

Tuesday, August 18th, 2009

jQuery: write less, do more

Finally forcing myself to learn a much-needed skill, I took a dive into learning jQuery. I used jQuery to improve some JavaScript code that I had written a couple months ago.

Read on to see the original code and how much cleaner jQuery made it.

Read the rest of this entry »