我写了几行来在咖啡脚本中初始化 jquery-ui 日期选择器
#this code is working fine
$(".picktime").datepicker
numberOfMonths: 1
#this give me an Error: Parse error on line 3: Unexpected '{'
$(".picktime").datepicker
numberOfMonths: 1
showButtonPanel: true
谢谢你。
我写了几行来在咖啡脚本中初始化 jquery-ui 日期选择器
#this code is working fine
$(".picktime").datepicker
numberOfMonths: 1
#this give me an Error: Parse error on line 3: Unexpected '{'
$(".picktime").datepicker
numberOfMonths: 1
showButtonPanel: true
谢谢你。