[jQuery] Calling an element tag and the value inside one of it's attributes
This is an odd questions. I have a huge form with a lot of data.
There is a table that data in it I need to display on a print screen
(of course this data isn't being displayed in the regular table). So,
I put the display text in a span tag.
So, this is how each item will look:
<span printData="Item 1 detail to display">Item 1</span>
<span printData="item 2 detail to display">Item 2</span>
I need a way to grab all spans on the page that have the attributte of
"printData" and grab that text inside that attribute and print it out.
Any thoughts?