变成html的源代码看看,你光说这个,别人很难给你判断

解决方案 »

  1.   

    直接调用时生成的javascript是
    function required () { 
         //this.aa = new Array("agentId", "代理商ID 是必须的", new Function ("varName", "this.mask=/^\\w+$/;  return this[varName];"));
     this.aa = new Array("agentId", "代理商ID 是必须的", new Function ("varName", "this.mask=/^\\w+$/;  return this[varName];"));
        } 放到另一个模块下生成的是
    function required () { 
         this.aa = new Array("agentId", "<span class='font_error'><img align="baseline" height="16" width="16" src="../images/Error.gif"/>代理商ID 是必须的</span><br>", new Function ("varName", "this.mask=/^\\w+$/;  return this[varName];"));
        } 多了些东西,为什么会多。