HTML code:
<div id="catalog_table">
        <table>
          <tbody>
            <tr>
              <td id="order"></td>
                 </tr>
                  ..........................
             </tbody>
       </table>
</div>

JS code:

$("#catalog_table TBODY TR").each(
                function(){
                        $(this).find("TD[id^='order']").html('TEXT')
                });

It does not work
I try next code:

$("#catalog_table TBODY TR  TD[id^='order']").each(
                function(){
                        $(this).html('TEXT')
                });
It work fine
Why the first JS-code does not work?

Reply via email to