• 拼接html 的事件转义


      attach += "<div style='line-height: 10px;float: left;margin-left: 10px;' id='attach_" + obj.ID + "'>";
            attach += "<div>";
            //attach += "</div>";
            attach += "<p>";
            attach += obj.NAME;
            attach += "</p><p>";
            attach += "<a style='color: #A3A2A2;' href='../../../../Attachment/AddWorkFlow/" + obj.NEWNAME + "' title='' hidefocus='true'>下载</a>&nbsp;";
            attach += "<a style='color: #A3A2A2;' href='javascript:void(0)" + " title='删除附件' hidefocus='true'  onclick='myAddWorkFlow.deleteAttachment("" + obj.ID + "","" + obj.NEWNAME + "")'>删除</a>";
            attach += "</p>";
            attach += "</div>";
            $('#receiveAttachmentList').append(attach);
  • 相关阅读:
    柱状图最大的矩形
    单词搜索
    最小覆盖子串
    颜色分类
    编辑距离
    X的平方根
    二进制求和
    最大子序和
    N皇后
    java8-14-时间API
  • 原文地址:https://www.cnblogs.com/dullbaby/p/3688792.html
Copyright © 2020-2023  润新知