The function selectRow (obj) {
If (event) srcElement) tagName=="TD") {
CurRow=event. SrcElement. ParentElement;
CurRow. Style. Background="blue";
Var srcElement=event. SrcElement. ParentElement;
Var the innerText=srcElement. The innerText;
Alert (the innerText);
}
}
I want to be in the current page of the form of access to the JS var the innerText=srcElement. The innerText;
And displayed, what should I do?
CodePudding user response:
Suggest you go to learn here, https://www.w3school.com.cn/index.html