I have a page that has a table and on each row we have a button. We have 25 row so each ID is different. Something like this:
button#plusMoreImagesText_1
button#plusMoreImagesText_2 …..etc.
I was trying to capture click events on the button regardless of which one was clicked using the “starts with ID” format...like this:
[id^=plusMoreImagesText_]
which I have used it before, but for some reason this time is not working….and I wonder if that’s becase the element is a <button> and not a <a> tag.
Is that right, or something is wrong with the format. I’ve also tried this just in case:
[id^=”plusMoreImagesText_”]
but also didn’t work.