 <p>As J L said, the easiest way by far is to use jQuery .click() with an appropriate locator. Check out: <a href="http://api.jquery.com/class-selector/" rel="nofollow">http://api.jquery.com/class-selector/</a></p> <p>You might also want to use <a href="http://api.jquery.com/jQuery.contains/" rel="nofollow">contains</a> or <a href="http://api.jquery.com/contents/" rel="nofollow">contents</a> features</p>