开发者

How to add another instance of date picker in given code

I have downloaded the complete zip of PopCalendarXP (Lite Edition) 9.8.309 f开发者_运维知识库rom:

http://www.calendarxp.net/downloads.shtml

In the given folders various type of datepickers are there, but every page contains only one instance of date picker. I need to add two or more instances.

How can I change the code of HTML/JavaScript/CSS? I'm not able to do that. Can anyone having a good command of jQuery and JavaScript help me out?


Why don't you use JqueryUi DatePicker: http://jqueryui.com/demos/datepicker/

Click View Source to show how it's done.

You can have as many DatePickers as you want


I think you are having some text fields which get populated by datepicker. You may be giving them same ids. Try giving them different ids and write essential javascripts for each field. Using jquery ui datepicker is a good option.. This link will be helpful to you containing various datepickers to choose from..

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜