jQuery & RADDatePicker

2 posts, 0 answers
  1. Charles
    Charles avatar
    1 posts
    Member since:
    Dec 2012

    Posted 06 May 2013 Link to this post

    (Hope this is the right forum ....)

    How do I get the selected date using jQuery?
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 08 May 2013 Link to this post

    Hello,

    <asp:Button ID="btnTest" runat="server" Text="Test" OnClientClick="GetDate(); return false;" />
        
           <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
           </telerik:RadDatePicker>
    function GetDate() {
        var rdp = $find("<%=RadDatePicker1.ClientID %>");
        alert(rdp.get_selectedDate());
    }


    Thanks,
    Jayesh Goyani
Back to Top