Coder's Block

Will Boyd's Portfolio

Feb 7

JavaScript String Replace Magic

Replacing strings in JavaScript is a fairly common task, but there are some nuances that might surprise the uninitiated, not to mention some really powerful features just below the surface. Read on to see. The Simple Case The most obvious way to do...
Sep 28

Highlight Text Inside a Textarea

Let’s start with the bad news. You can’t actually highlight text in a <textarea>. Any markup you would add to do so would simply display as plain text within the <textarea>. The good news is, with some carefully crafted...
Sep 19

Ember in Atlanta

Every once in a while I’ll make a “what I’m up to” post. I guess it’s time for one now. Along with some bonus rambling about Ember and Less. Back in Atlanta We moved out of Seattle and back to Atlanta. Seattle is a...