|
var myTbl = document.getElementById('tableid');
var rows = myTbl.getElementsByTagName('TR');
for(i=0;i<rows.length;i++)
{
row[i].childNodes[(int) index of child node].id = your new id;
row[i].childNodes[(int) index of child node].id = your new id;
row[i].childNodes[(int) index of child node].id = your new id;
}
you just have to know where the elements are placed relative to their parent.
__________________
public string ConjunctionJunction(string words, string phrases, string clauses)
{
return (String)(words + phrases + clauses);
}
<--- Was I Helpfull? Let me know ---<
Last edited by rlemon; 09-08-2006 at 05:45 PM..
|