Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用的Jquery date picker是很棒的,但是当我选择一个日期时,文本框中的日期格式是 mm-dd-yyyy,我想要 dd-mm-yyyy。
Jquery date picker
Date: <input type="text" id="datepicker"/>
我努力了:
$( "#datepicker" ).datepicker({ altFormat: "dd-mm-yyyy"});
但这并没有改变任何东西。
如何获得正确的格式?
您需要使用dateFormat选项
$( "#datepicker" ).datepicker({ dateFormat: "dd-mm-yyyy"});
演示:小提琴
I have custom html helper which getting IEnumerable model from view and generates html table with headers and body
please advice how can get matadata from this model
thanks