<table border=0>
<tr>
<td>
<table id="table1" width="300" border="2" align="right" cellpadding="1" cellspacing="1">
<tr class="tb1">
<td>station</td>
<td>wind</td>
</tr>
</table>
</td>
</tr>
</table>
I hope to return the value of element through javascript which I expect to alert with the string "station" and "wind". I had tried the following javascript code
var data=$("tr.tb1").find("td").value;
alert(data);
And further more to change the font color of the content. Hoping to get some help about how to improve my code.