This is what the link looks like on page 1:
<li id="click1">
<a href="products.htm#test4Handle1">TNT Cable System</a>
</li>`
This is what I want to trigger on page 2:
<a name="test4Handle1">
<button onclick="$('#test4Handle1').click()">TNT Cable System</button>
</a>
my attempt at jquery
$("test4Handle1").observe('domready',function() {
document.getElementById("test4Handle1").click();
});
What page should have the javascript page 1 or 2?