My New Hugo Site
Home
This Blog
All Tags
All Sections
All Posts
Knockout.js 表單處理
Aug 29, 2013
1 min read
Knockout
Knockout
click
觸發click事件的動作
event
繫結自訂的事件處理
submit
觸發表單送出事件的動作
enable
是否啟用
disable
是否停用
value
繫結表單內容
hasFocus
是否得到焦點
checked
是否核取
options
繫結下拉選單 optionsText為文字內容 optionsValue為下拉選單的值
selectedOptions
可複取的下拉選單所選取的資料
Sharing is caring!
Please enable JavaScript to view the
comments powered by Disqus.
Sharing is caring!