我有jQuery.ptTimeSelect插件,這似乎對我的項目很好。 不知道是有一個24小時的格式,因爲我遇到的例子[http://pttimeselect.sourceforge.net/example/index.html][1]這個插件是否有24小時的時間格式?
[1]: http://pttimeselect.sourceforge.net/example/index.html只有12小時時間格式。
下面從上述網站的代碼片段
$('input[name="time"]')
.ptTimeSelect({
containerClass: undefined,
containerWidth: undefined,
hoursLabel: 'Hour',
minutesLabel: 'Minutes',
setButtonLabel: 'Set',
popupImage: undefined,
onFocusDisplay: true,
zIndex: 10,
onBeforeShow: undefined,
onClose: undefined
});
這裏有幾乎沒有足夠的信息。你使用什麼插件?你寫了什麼代碼來實例化插件?你有這個問題的一個有效的例子嗎? –