62,072
社区成员
发帖
与我相关
我的任务
分享
var strhtml="<textarea style='width:100%;' id='tem_"+number+"' name='tem_"+number+"' onpropertychange='setTareaAutoHeight(tem_"+number+")' oninput='setTareaAutoHeight('tem_"+number+"')'></textarea>";
<textarea style="width:100%;" id="tem_1" name="tem_1" onpropertychange="setTareaAutoHeight('tem_1')" oninput="setTareaAutoHeight=(' em_1')"></textarea>
<textarea style="width:100%;" id="tem_1" name="tem_1" onpropertychange="setTareaAutoHeight(tem_1)" oninput="setTareaAutoHeight(" em_1')'=""></textarea>
oninput='setTareaAutoHeight('tem_"+number+"')'>
改成
oninput=\"setTareaAutoHeight('tem_"+number+"')\">
试试