开发者

Change the sytle of datepicker using jquery-ui

开发者 https://www.devze.com 2023-03-22 14:33 出处:网络
How can I change the style 开发者_JAVA技巧of the calender using the css files of jquery-ui? <input type=\"text\" id=\"dob\"/>

How can I change the style 开发者_JAVA技巧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 ?


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号