Click here to Skip to main content
11,479,486 members (45,858 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET jQuery
Is it possible to have a zebra_datepicker inside a lightbox_me popup i am using two plugin lightbox_me and zebra_datepicker. lightbox_me plugin for binding a input text box and zerbra_datepicker for calender control my html and jquery codes are follows

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="Scripts/main.js"></script>
<script type="text/javascript" src="Scripts/zebra_datepicker.js"></script>
<script type="text/javascript" src="Scripts/lightbox_me.js"></script>
<link href="Layout/zebra_datepicker.css" rel="Stylesheet" type="text/css" />
 
<script type="text/javascript" >
.popUp{
 
            border-radius:6px;
            -moz-border-radius: 6px;
            background: #FFFFFF;
            -webkit-border-radius: 6px;
            border: 1px solid #536376;
            -webkit-box-shadow: rgba(0,0,0,.6) 0px 2px 12px;
            -moz-box-shadow:  rgba(0,0,0,.6) 0px 2px 12px;
            padding: 14px 22px;
            width: 392px;
            height:173px;
            position: relative;
            display:none;
}
 
 </script>
 
</asp:Content>

<input type="button" id="btnTest" class="button arrow" value="Test" />
<div id="divCalanderCheck" class="popUp">
    <input type="text" id="txtDate" class="datepicker" />
</div>


main.js

$(document).ready(function () {
    $("#txtDate").Zebra_DatePicker();
        $('#btnTest').click(function () {
 
            $("#divCalanderCheck").lightbox_me({
                lightboxSpeed: 100,
                centered: true,
                closeClick: true,
                closeEsc: true
            });
});
 
    });
Posted 30-Mar-13 1:41am

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

  Print Answers RSS
0 OriginalGriff 255
1 Sergey Alexandrovich Kryukov 215
2 F-ES Sitecore 175
3 Richard MacCutchan 120
4 Frankie-C 104
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,441
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 30 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100