I need to be able to select an element that has certain content (innerHTML).
e.g. I have some anchors each with a number as their text. How can I select the anchor with '1' as its text?
I have tried this
$('a[innerHTML="1"]')
this seems to work in IE but not ff or chrome!