```html
<div id="myDiv">

    <table>
        <tr>
            <td>
                Firstname
            </td>
            <td>
                Secondname
            </td>
        </tr>
        <tr>
            <td>
                name1
            </td>
            <td>
                name2
            </td>
        </tr>
    </table>

</div>

```

This is my HTML structure and I need to get the values **'Firstname'** and **'name1'** from the table using Jquery or Javascript. Only the outer div has the id. Can someone help.