<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterLogin.Master" AutoEventWireup="true" CodeBehind="testjquery.aspx.cs" Inherits="PresentationLayer.testjquery" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderCheckoutProcess" runat="server"> <script type="text/javascript"> $(function() { // $.datepick.setDefaults({useThemeRoller: true}); $('#popupDatepicker').datepick(); $('#inlineDatepicker').datepick({ onSelect: showDate }); }); function showDate(date) { alert('The date chosen is ' + date); } </script> <script src="js/jquery.datepick.js" type="text/javascript"></script> <link href="css/jquery.datepick.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.3.2.js" type="text/javascript"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <div> <p> A popup datepicker <input type="text" id="popupDatepicker"></p> </div> </asp:Content>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)