I'm wondering if this is a bug or if I'm missing something. The selector $('span[class^="err"]') matches <span class="error"> but *not* <span class="err-2">. $('span[class^="err-"]') does *not* match <span class="err-or"> or <span class="err-2">
What's the deal with the hyphen? Is it a special character?