How to select all anchor tags that contain image tags with jQuery

Turns out jQuery has the handy has selector for just this case. Here’s a simple example that sets the title attribute of every <a> tag that contains an <img> tag and then attaches Fancybox, a lightbox-esque, image-enlargement plugin: $(“a:has(img)”).attr(“title”, “Click…

I made pickles

Four jars to be exact, using this recipe: Garlic Dill Pickles. We’ll see how they turn out.

My Grandfather passed away

On Saturday morning, my Grandfather, Colin Stewart Watt Jr., passed away. He was 92. My full name is Justin Colin Watt. I’ve always known that I got my middle name from him. It only just occurred to me that I…

Ted’s Hot Dogs

If I were to write a list of “things I know about my Dad” one of them would be the fact that he worked at a hot dog stand in Buffalo, New York after graduating from high school. There are…