Home > front end >  Please write JS/JQ replacement or hidden HTML enthusiast specified in the symbol or keyword
Please write JS/JQ replacement or hidden HTML enthusiast specified in the symbol or keyword

Time:04-17

Because the HTML code can't edit, so only through JS/JQ to change, such as "|" symbol in the following content need to be removed or replaced with Spaces,
Ask the teacher to help write,
 & lt; Div & gt;   | & lt; A href="https://bbs.csdn.net/topics/b.html" & gt; Course B  

CodePudding user response:

Document. QuerySelector (' edu ') innerHTML=document. QuerySelector (' edu '). The innerHTML. ReplaceAll (' | ', ')
  • Related