CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
front end
> Js (help) to obtain a certain section of the span tags how to write an error
Js (help) to obtain a certain section of the span tags how to write an error
Time:10-01
As shown in figure, please advise
CodePudding user response:
You should sectionId is variable, is
Var section=document. QuerySelector (" # "+ sectionId);
Page link:
https//www.codepudding.com/frontend/45314.html
Prev:
Cannot access network, the network how to use enterprise WeChat login
Next:
Easyui - the datagrid query to the data, but does not display the data, even without a header
Tags:
JavaScript
Related
Links:
CodePudding