I have lines like below scattered throughout my markup:
<img id="dance_1" class="video" src="media/dancing1.jpg" onclick="playVideo(irishJig1.flv') />
var vids =$('img.video????).get();
where the ??? is something that will look inside the line and pull out the name of the video that that line will play. It's that "something" that I'm not sure of. It would be easy if I were pulling the value of an attritute in the line, but I'm just looking for a string buried in the line.
What is the best way to do this with jQuery?
Thanks for any ideas.