how to get the child node in div using javascript

Posted by Khushi on Stack Overflow See other posts from Stack Overflow or by Khushi
Published on 2009-03-10T10:35:34Z Indexed on 2011/11/24 1:50 UTC
Read the original article Hit count: 163

Filed under:
|
|

Below is the structure of my div:

<div id="ctl00_ContentPlaceHolder1_Jobs_dlItems_ctl01_a"
    onmouseup="checkMultipleSelection(this,event);">
       <table cellpadding="0" cellspacing="0" border="0" width="100%">
           <tr>
              <td style="width:50px; text-align:left;">09:15 AM</td>
              <td style="width:50px; text-align:left;">Item001</td>
              <td style="width:50px; text-align:left;">10</td>
              <td style="width:50px; text-align:left;">Address1</td>
              <td style="width:50px; text-align:left;">46545465</td>
              <td style="width:50px; text-align:left;">ref1</td>
           </tr>
       </table>
</div>

Now, if i have the id of the div, how can i get the time and address for this div using JavaScript?

Thanks & Regards, Khushi

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about get