1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Jquery Date Picker

Discussion in 'Web Development' started by newphpcoder, May 9, 2011.

  1. newphpcoder

    newphpcoder New Member

    Joined:
    Sep 24, 2010
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Web Programmer
    Location:
    Philippines
    Good day!

    I explore something so I used jquery in my date, without any knowledge about jquery. I research a sample Jquery Date Picker internet and I found one, my problem is the Year is started at 2001 , I don't know if I could change it so that the year would start atleast 1950's or 1990's

    here's the code that I add in my webpage to display the Jquery Date Picker
    Code:
    <link rel="stylesheet" href="ui.all.css" type="text/css" media="screen" />
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
    
    <script type="text/javascript">
    
    $(document).ready(function(){
    
    $("#date").datepicker({ showOn: 'button', buttonText: "Select your Birthday" });
    
    });
    
    </script>
    
    

    I will attach the date picker that I get from internet.

    Thank you
     

    Attached Files:

  2. pein87

    pein87 New Member

    Joined:
    Aug 6, 2010
    Messages:
    173
    Likes Received:
    47
    Trophy Points:
    0
    Occupation:
    Web Dev
    Location:
    Limbo
  3. jaydeee

    jaydeee New Member

    Joined:
    Aug 18, 2011
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    this is one functionality that I will be needing in my project. I would like to understand more than just patch in the code.
    Sample calendar from the link looks cool.
     

Share This Page