This repository was archived by the owner on Oct 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ let btnnew=document.querySelector("#new");
40
40
function addTmplFile ( ) {
41
41
/*let page1 = document.getElementById("page1").style;
42
42
page1.display = "none";*/
43
+ document . getElementById ( "addname" ) . innerHTML = "新增同学信息" ;
43
44
let page2 = document . getElementById ( "page2" ) . style ;
44
45
page2 . display = "block" ;
45
46
let totalbg = document . getElementById ( "totalBackground" ) . style ;
@@ -138,6 +139,7 @@ btndel.onclick = function(){
138
139
table . deleteRow ( table . rows . length - 1 ) ;
139
140
}
140
141
function modify ( obj ) {
142
+ document . getElementById ( "addname" ) . innerHTML = "修改信息" ;
141
143
let totalbg = document . getElementById ( "totalBackground" ) . style ;
142
144
totalbg . display = "block" ;
143
145
let page2 = document . getElementById ( "page2" ) . style ;
@@ -172,6 +174,7 @@ function submit2(){
172
174
173
175
}
174
176
function look ( obj ) {
177
+ document . getElementById ( "addname" ) . innerHTML = "查看信息" ;
175
178
let totalbg = document . getElementById ( "totalBackground" ) . style ;
176
179
totalbg . display = "block" ;
177
180
let page2 = document . getElementById ( "page2" ) . style ;
You can’t perform that action at this time.
0 commit comments