0

How can I change the style of the calender using the css files of jquery-ui?

<input type="text" id="dob"/>

here is the script

$(document).ready(function(){    
$("#dob").datepicker();
});

here's the example http://jsfiddle.net/zncSh/2/ ?

how can I format it to be like this http://jqueryui.com/demos/datepicker/ ??

where should I add the css class ?

William Niu
  • 15,798
  • 7
  • 53
  • 93
palAlaa
  • 9,500
  • 33
  • 107
  • 166

1 Answers1

1

You want to link to a theme file, either to one of the preset ones or use the theme roller to create one. You should have a read at how jQuery UI themes work.

Here's the post that list the remote repositories: Downloading jQuery UI CSS from Google's CDN

I modified your jsfiddle to include the base theme: http://jsfiddle.net/zncSh/3/

Community
  • 1
  • 1
William Niu
  • 15,798
  • 7
  • 53
  • 93