weui 問題

一、阻止checkbox 被 checkedui

方法1:  this

$('.weui-check').on('click', function(e){
	$(this).attr('disabled', true);
	$(this).removeAttr('disabled');
})

方法2:blog

$('.weui-check').on('click', function(e){
	e.preventDefault()
})

注意:檢查zepto.js 是否添加了相應模塊  rem

相關文章
相關標籤/搜索