开发者

Jquery timepickr showing lots of {label:s} fields instead of regular output

开发者 https://www.devze.com 2022-12-11 02:11 出处:网络
I\'m trying to integrate jquery-timepickr on my website, but no matter what version I download (trunk, latest final, latest alpha, the one from the demo site), I keep having the same problem:

I'm trying to integrate jquery-timepickr on my website, but no matter what version I download (trunk, latest final, latest alpha, the one from the demo site), I keep having the same problem:

I applied the time picker with the default options:

$("#MyTimeField").timepickr();

When I click on the field I bound the timepicker to, I get a vertical row of buttons saying "{label:s}". When clicking one of these buttons , the follow开发者_C百科ing text appears in the input field: "{h:02.d}:{m:02.d}".

My guess was that it might be some problem with the prerequisites, so I made sure that jquery.strings are jquery.utils are installed, tried various different versions of your plugin, also different jquery-ui versions, but still no luck.

Any hints would be greatly appreciated.


Are you using jquery.validate plugin from here? The latest jquery.timepickr should have fixed it. See here for details.


Looks like the strings are not being replaced - do you have link or code example?


Looks like this has not been solved... and maybe it's too late now... but I wanted to suggest that if you're still stuck, try another picker, such as the Any+Time™ DatePicker/TimePicker AJAX Calendar Widget. I hope it will meet your needs!

0

精彩评论

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

关注公众号