有一个表<table>
<tr id="del0">
<td align="center"><input type="text" name="costPrice"/></td>
</tr>
<tr id="del1">
<td align="center"><input type="text" name="costPrice" /></td>
</tr>
</table>
我想用$("del0 > input[name='costPrice']").val("123");这条语句给第一行的单元格中的一个text框赋值,但是赋值不成功,这条赋值语句该怎么写呢?