Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi, I am new to jquery please help me
i am using two plug in one lightbox plugin for binding controls and zebra_datepicker for binding date to textbox control which is in a div tag. and that div tag i bind with lightbox.

when i click a texbox which is binded with zebra_datepicker in am not getting focus on datepicker and date is not fetched to text box

.aspx code
ASP.NET
<input type="button" class="AddButton" id="btnAdd"  />

   <div id="div1" class="popUpAddUser">
       <table id="Table1" width="100%" style="border-spacing: 8px">
           <tr>
               <td>
                   &lt;asp:Label ID="lblExamStartDate" runat="server" Style="float: right" Text="Exam Start Date"&gt;
               </td>
               <td>
                   :
               </td>
               <td>
                   <input type="text" id="txtExamStartDate" class="datepicker" />
               </td>
           </tr>
       </table>
   </div>

jquery code
JavaScript
 $('#txtExamStartDate').Zebra_DatePicker();

$('#btnAdd').click(function () {
       
        $('#divScheduleExam').lightbox_me({
            lightboxSpeed: 100,
            centered: true,
            closeClick: false,
            closeEsc: true
        })
    });

any help will be appreciable
Posted
Updated 21-Mar-13 7:42am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900