Problem updating value using DatePicker in a dynamic table

Problem updating value using DatePicker in a dynamic table

Hello.  I am trying to work on a HTML table where the user can select a checkbox and update a date value.  Here is the DatePicker function and the JSP definition of the table:

$(function () 
       {
                  
        $("input[id$='ModifyStatusDate']").datepicker({
               dateFormat: "yy-mm-dd"
           });  
               
     });

<tr>
         <td align="center">  
               <input style="width:50px;" type="checkbox" id="selectedSched" 
                                     name="selectedSched" value="<c:out value="${schedcombo}"/>"/>  
          </td> 
                            
          <td id="ModifyScheduleNumber"><c:out value="${row.getSCHEDULE_NUMBER()}" /></td>
           <td style="text-align: right; padding-right: 5px;"><c:out value="${row.getNUM_OF_PAY_RECORDS()}"/></td>
           <td style="text-align: right; padding-right: 5px;"><c:out value="${schedTotl}"/></td>
           <td><select style="width:45px;" size="1" id="ModifyStatus" 
                      name="ModifyStatus_<c:out value="${schedcombo}"/>" class="combosmall">
                         <c:forEach items="${ModifyList}" var="statusValue">
                             <option value="${statusValue}"
                             <c:if test="${statusValue == UpdCMDStatus}"> selected="selected"</c:if>
                             >${statusValue}</option>
                                     
                         </c:forEach>
                    </select> </td>
          <td>
                <input style="width:85px" id="ModifyStatusDate" 
                         name="ModifyStatusDate_<c:out value="${schedcombo}"/>" 
                          type="text" class="texttable" value="${row.getSTATUS_DATE()}"/>
           </td>

           <td><c:out value="${row.getAPPR_HUD_EMPLOYEE()}"/></td>
   </tr>


For some reason when I use the calendar to update a value in the 2nd or 3rd row for example, the value is updated ONLY in the first row.   Do you know what I am missing so that when I access the Calendar for a particular row we process the ModifyStatusDate for that row

Thanks