1
$("span[id^='id_name_'");

I found in my code that this selector actually works. I thought it would break because of the mismatching brackets, but it doesn't. Is it because CSS is quite forgiving or is because of the ^ bit of the selector?

Any ideas?

jellybean_232
  • 189
  • 1
  • 4
  • 16

0 Answers0