ChildNodes set IDs for <tr>
I have the following code in which i'm having some problems with:
On our website this is created by the server in asp and therefore has no ID's on the table or its rows.
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<a id="alink" href="www.google.com">Google1</a>
<a id="alink" href="www.google.com">Google2</a>
<a id="alink" href="www.google.com">Google3</a>
The problem is that we are having a problem with the css of the table without any IDs or Classes I am unable to do this.
At the end of the day I need to be able to modify the css of all the <li> in the above code.
Can anyone help with my above theory of using setAttribute() or is there possible a better way?