<script type="text/javascript">
Calendar.setup(
{
inputField : "data", // ID of the input field
ifFormat : "%m %d, %Y", // the date format
button : "trigger" // ID of the button
}
);
</script>
这种写法是什么意思?
...全文
2703打赏收藏
javascript 的语法好像很混乱 ,函数传参到底有多少种方法
Calendar.setup( { inputField : "data", // ID of the input field ifFormat : "%m %d, %Y", // the date format button : "trigger" // ID of the button } ); 这种写法是什么意思?