function editTacheDefine(workShow){
document.getElementById("tache_operation_show").value=workShow;
}
<textarea cols="95" name="workShow" id="tache_operation_show" rows="3" ></textarea>
onclick="editTacheDefine('<c:out value="${tacheDefine.workShow}"/>',)"
workShow这个字符串参数比较长,直接放textarea 里报“未结束的字符串常量”直接输入我知道用\n如果是参数怎么做。请高手指点!
document.getElementById("tache_operation_show").value=workShow;
}
<textarea cols="95" name="workShow" id="tache_operation_show" rows="3" ></textarea>
onclick="editTacheDefine('<c:out value="${tacheDefine.workShow}"/>',)"
workShow这个字符串参数比较长,直接放textarea 里报“未结束的字符串常量”直接输入我知道用\n如果是参数怎么做。请高手指点!
这浏览器插件非常好
建议你用用 就能体会到它的无穷魅力