jquery Zebra_Datepicker在lightbox中不起作用 [英] jquery Zebra_Datepicker does not work inside lightbox

查看:66
本文介绍了jquery Zebra_Datepicker在lightbox中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是jquery的新手,请帮助我

我使用两个插件一个灯箱插件用于绑定控件,zebra_datepicker用于绑定日期到文本框控件,它位于div标签中。并且我用灯箱绑定div标签。



当我点击与zebra_datepicker绑定的texbox时,我没有关注datepicker并且日期没有被提取到文本框



.aspx代码

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

<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


jquery code

 $('#txtExamStartDate').Zebra_DatePicker();

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



任何帮助都会很明显


any help will be appreciable

推荐答案

(< span class =code-string>' #txtExamStartDate')。Zebra_DatePicker();
('#txtExamStartDate').Zebra_DatePicker();


(< span class =code-string>' #btnAdd')。点击( function (){
('#btnAdd').click(function () {


' #divScheduleExam')。lightbox_me({
lightboxSpeed: 100
居中: true
closeClick: false
closeEsc: true
})
});
('#divScheduleExam').lightbox_me({ lightboxSpeed: 100, centered: true, closeClick: false, closeEsc: true }) });



任何帮助都会很明显


any help will be appreciable


这篇关于jquery Zebra_Datepicker在lightbox中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆