1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to change datepicker stuff

Discussion in 'jQuery' started by Chez Rosbif, Jun 11, 2019.

  1. #1
    I am trying to use this
    and cannot understand HOW to make the following changes?
    make the color go to something I want; default is red

    how to make the minimum date work
    Documentation says:
    // Setter
    $( ".selector" ).datepicker( "option", "minDate", new Date(2007, 1 - 1, 1) );

    where docs state:
    • Date: A date object containing the minimum date.
    • Number: A number of days from today. For example 2 represents two days from today and -1 represents yesterday.
    • String: A string in the format defined by the dateFormat option, or a relative date. Relative dates must contain value and period pairs; valid periods are "y" for years, "m" for months, "w" for weeks, and "d"for days. For example, "+1m +7d" represents one month and seven days from today.
    Say what?????????? :)
    If I want the date to start at today, what do I do?
    Chez Rosbif, Jun 11, 2019 IP
  2. Chez Rosbif

    Chez Rosbif Peon

    Likes Received:
    Best Answers:
    Trophy Points:
    Thanks for your help. Not :) I coded my own.
    Chez Rosbif, Jun 12, 2019 IP