onclick防止冒泡和json对象放入
onclick 阻止冒泡
onclick="aa_click(event,name)"
function aa_click(e,name){
if ( e && e.stopPropagation ) {
e.stopPropagation();
} else {
window.event.cancelBubble = true;
}
next(name)
}
json对象加入onclick
<div class="one_doctors" onclick="show_doctor_modal('+JSON.stringify(details[i]).replace(/\"/g,"'")+')">