Is there a way to select an ID inside another ID
e.g.
<div id="div_one"> <a href="test.html" id="link">Test 1</a> </div> <div id="div_two"> <a href="test2.html id="link">Test 2</a> </div>
As you can see both links have the same ID but can you still select them seperatly with document.getElementById(...)?
Bart