页面上有两个table,id都是”cont2",现要在js中取到这两个table,改变样式. js实现: var tab2=document.all.cont2(1);var tab=document.all.cont2(0);tab.style.display="none";tab2.style.display="block";…
List<Order> orders = new ArrayList<Order>(); for (int i = 0; i < 3; i++) { Order t = new Order(i, user_id, 1, "orderTime", "receiveName", "fullAdress", "postalCode", "phone"); orders.add(t);…