mui(".mui-table-view").on(‘tap‘, ‘.mui-table-view-cell‘, function() {
if(check_login()) {
ca.sendNotice(‘order_detail‘, ‘update_address‘, {
receiverName: this.getAttribute(‘receiverName‘),
phone: this.getAttribute(‘phone‘),
address: this.getAttribute(‘address‘),
addressDetail: this.getAttribute(‘addressDetail‘)
});
mui.back();
} else {
jump_login();
}
});
遍历的时候是便利本控件的属性,而不是子控件
原文:http://www.cnblogs.com/lhang55/p/7742291.html