On the page there are many links of the form:
<a href="javascript:Begin( '1176892828' );" class="thisLink">Начать</a> The number in brackets for each link is unique, the class "thisLink" can not be used, as it is and for links that do not need to be clicked. How to click on all such links?
$('a').each(function(){ if ($(this).attr('href').indexOf('javascript:Begin(') != -1) { alert($(this).text()); } });it? only instead ofalert($(this).text());need$(this).click()- Alexey Shimansky