<%@ Page Title="" Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="cal.aspx.cs" Inherits="cal" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <link href="css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet" /> <script src="js/jquery-1.7.2.min.js"></script> <script src="js/jquery-ui-1.8.19.custom.min.js"></script> <script type="text/javascript"> $(function () { $("#txtDate").datepicker(); }); </script> <style type="text/css"> .ui-datepicker { font-size:8pt !important} </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div class="demo"> <b>Date:</b> <asp:TextBox ID="txtDate" runat="server"/> </div> </asp:Content>
$(function () { $('#<%=txtDate.ClientID %>').datepicker(); });
$("#ContentPlaceHolder1_txtDate").datepicker();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)