Selector Traversing Problem in IE

Selector Traversing Problem in IE

Does not work in IE6, but FF, SAF works only. any better way to solve this issue?

  1. $js('#row_1 #my_name').css({ color: '#00FF00'});
  2. $js('#row_2 #my_name').css({ color: '#FF0000'});
<div id="row_1">
      <div id="my_name">Asim</div>
</div>

<div id="row_2">
      <div id="my_name">Masood</div>
</div>