这函数在IE下能执行, 但在Google Chrome有问题,要怎样修改呢?

bbm01111 2015-07-04 02:42:41
//这功能是表格保存新添加行用的。
function exp_tab(the_table){
var the_content="";
the_content=the_table.outerHTML;
document.all.EditorValue.value = the_content;
}
...全文
93 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
bbm011 2015-07-04
  • 打赏
  • 举报
回复
document.getElementById("EditorValue").value = the_content; 或 document.getElementsByName("EditorValue")[0].value = the_content;
bbm01111 2015-07-04
  • 打赏
  • 举报
回复
假设,the_table 有三个字段 a1,b1,c1

535

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧