站內搜尋

Tuesday, October 22, 2013

[jQuery] 判斷 checkbox 是否被勾選

if($(this).prop('checked')){
  alert('Y');
}

No comments:

Post a Comment