首页 > 代码库 > jBox删除

jBox删除

    function delMedicalAndDoctor(obj) {
        var submit = function (v, h, f) {
            if (v == true){
                $("#searchFormTwo").attr("action","${ctx}/meeting/medical/delMedicalAndDoctor?medicalId="+obj);
                $("#searchFormTwo").submit();
            }
        };
        jBox.confirm("是否删除此类型?", "提示", submit,{showScrolling: false, buttons: { ‘确定‘: true, ‘取消‘: false } });
    }
    <form:form id="searchFormTwo"  class="form-search breadcrumb" >
        <!-- <input id="pageNo" name="pageNo" type="hidden" value="" />
        <input id="pageSize" name="pageSize" type="hidden" value="" /> -->
    </form:form>
<td style="text-align: center" ><span style=display:none>${medicalVo.address}</span><span style=display:none>${medicalVo.dateStart}</span><span style=display:none>${medicalVo.dateEnd}</span>
                        <a href="javascript:;" onclick="editMedical(${medicalVo.medicalId})">修改</a>
                        <a href="javascript:;" onclick="delMedicalAndDoctor(‘${medicalVo.medicalId}‘);" >删除</a>
                    </td>

 

jBox删除