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);
  • Related