日期:2014-05-16 浏览次数:20401 次
function passRefundApply(orderItemId){ //alert(orderItemId); $.ajax({ type: "get", url: "/openorder/control/updateRefundStatus", data:"orderItemId="+orderItemId+"&refundStatus=P", cache: false, success: function(msg){ var result = eval("("+removeDivTag(msg)+")"); try{ if(result.result!="success"){ alert("修改失败,请重试!"); return; } }catch(e){ alert("修改失败,请重试!"); return; } $("#refundStatus_"+orderItemId)[0].innerHTML = "退款审核已通过"; } }); }
$("#refundStatus_"+orderItemId)[0].innerHTML = "<a href=\"javascript:void(0);\" onclick=\"passRefundApply("+orderItemId+")\">审核通过</a> <a href=\"javascript:void(0);\" onclick=\"rejectRefundApply("+orderItemId+")\">审核拒绝</a>";
<script> alert(12345678900987654321); </script>