You can assign a unique identifier to each anchor tag and use it as
<div id='div1'> <ul> <li><a href='#gone' id='gone' >gone</a></li> <li><a href='#gtwo' id='gtwo'>gtwo</a></li> </ul> </div>
And there will be javascript.
$("#gone").trigger("click");
And it would be very simple
$("#gone").bind("click",function(event){
If your ul li is dynamic, you can use like:
$('#div1 ul li').first().find("a").trigger("click");
source share