1.在html.push中放置變量,變量名爲itemid,用於設置成tr的id
html.psuh("<tr id=""+itemid+">")
2.在html.push中放置其餘的屬性,如width:450px; select(itemid)
html.push("<input style=\"width:150px\" onclick=\"selectStandard("+itemid+");\"/>")
1.在html.push中放置變量,變量名爲itemid,用於設置成tr的id
html.psuh("<tr id=""+itemid+">")
2.在html.push中放置其餘的屬性,如width:450px; select(itemid)
html.push("<input style=\"width:150px\" onclick=\"selectStandard("+itemid+");\"/>")