Hello guys,
I am writing a Greasmonkey script and I need little help here. So I have this code:
$(document).ready (get);
function get ()
{
var elems =$( "a[id*='myId.']" );
if (elems.length>0) {
$("a[id*='myId.']").trigger("click");
}
}
the point is that there are a lot of a tags with id myId.N where N is different number. But that click just doesn't work. Any ideas?
Regards,
Fr3aK