Thanks for the information. I will try that out tomorrow.


On Dec 10, 6:28 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> It is because you are not understanding what ">" means in a selector
>
> http://docs.jquery.com/Selectors/child#parentchild
>
> "Matches all child elements specified by "child" of elements specified
> by "parent""
>
> so while "#editableTable" is the id of the <table> tag, then
>
> $("#editableTable > input")
>
> wouldn't grab anything since there are no <input> objects that are
> direct children of the parent <table>
>
> drop the ">" and your jQuery code should work fine
>
> On Dec 10, 9:21 pm, Felix <[EMAIL PROTECTED]> wrote:
>
> > Hi all, I am running into the following problem.
>
> >         <TABLE width="820PX" align=center border=0 id="editableTable" >
>
> >                                 <TR class="rowbgon">
> >                                 <TD colspan="1" 
> > >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> >                                 <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

Reply via email to