tags:

views:

28

answers:

0

Scrpit starts here..!!

$(document).ready(function () {
    $("#myButton").click(function () {
        var textDate = $('#<%= Me.txtLicenceExpiryDate.ClientID %>');
        textDate.datepicker();
        textDate.datepicker("show");
    });
});

HTML

    <td class="validatorcolumn">&nbsp;</td>
    <td class="datacolumn">
        <asp:Label ID="lblLicenceExpiryDate" runat="server" Text="Licence Expiry Date"></asp:Label>
    </td>
    <td class="datacolumn">
        <asp:TextBox ID="txtLicenceExpiryDate" runat="server" Width="100px"></asp:TextBox>
        <input id="myButton" type="button" value="button" />
        <%--<uc1:DatePick ID="dtpLicenceExpiryDate" TabIndex="16" runat="server" />--%>
    </td>
    <td>                            
    </td>
</tr>

is there anything wrong in this...??