-2

Is it possible to write a function in jQuery/Javascript of our own so that it should disable US Holidays and Week ends.

Can any one give me an idea to write the function and how to call that function as per my need

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
Developer
  • 8,390
  • 41
  • 129
  • 238

2 Answers2

2

It is posible, Adam Bellaire gives a good example here on how to implement for the date picker. This should be pretty easy to implement in your design.

Community
  • 1
  • 1
atrljoe
  • 8,031
  • 11
  • 67
  • 110
0

http://michaelthompson.org/technikos/holidays.php has what looks like decent a solution in C that looks pretty easy to turn into Javascript

dtanders
  • 1,835
  • 11
  • 13