[jQuery] select input within a table cell with wildcard
Hi all, I am running into the following problem.
<TABLE width="820PX" align=center border=0 id="editableTable" >
<TR class="rowbgon">
<TD colspan="1" >
<input type="hidden" id='Seq_0' value="1509"/>
</TD>
<TD colspan="1" >
<input type="text" name="Number" value="0.1.1" style="width:
113px" id="FormDraft_0_2"></TD>
<TD colspan="1" >
<input type="text" id="name" value="me" />
</TD>
<TD colspan="1" >
<input type="text" name="receivedDate" value="22-Oct-2008"
readonly="readonly" style="width:113px" id="RecivedDate_0_4"></TD>
<TD colspan="1" >
<input type="text" id="recDate" value="01-Nov-2008"/>
<TD colspan="1" >
<input type="text" name="actualCompletionDate" value="01-
Nov-2008" readonly="readonly" style="width:113px"
id="ActualCompletionDate_0_5"></td>
<TD colspan="1" >
<input type="text" id="ACDDate" value="01-Nov-2008"/>
</TD>
</TR> </table>
My Jquery looks like this
$("#editableTable > input[id*='ActualCompletionDate_']").each(function
(){
alert("selected = "+$(this).val());
});
and when I ran it, nothing is alert out