JavaScript how to get text value by clicking and then display the value in another html tag – Jquery
I'm really new to JavaScript. I have a html like this: <li><a class="dropdown-item confirm" href="#">wtdata</a></li> How can I use js to click this link and get 'wtdata' ,then display the value 'wtdata' in here: <h5 id="staticBackdropLabel">You want to run wtdata…