我正在尝试在弹出窗口中附加更多数据并设置表格样式。
我有
 var popup = window.open("popup.html", "popup","width=800","height=600");
     popup.document.write(
     "<table id='dataTable'>"+
      "<tr><th>test1</th><th>test2</th><th>test3<th></th>test4</th><th>test5</th></tr>" +
      "</table>");
ajax callback data
    codes....
如何附加数据并设置表格样式?