How to edit an anchor text using JS?

Asked

Viewed 14 times

0

I’m using Wordpress, and by the way this can only be done by editing html with Javascript.

Follow the code:

<li class="nav-item">
        <a class="nav-link active" href="#craftsman_gateway" role="tab" data-toggle="tab">I'm Craftsman</a>
    </li>

I need to change the text "I’m Craftsman"

Na imagem, nota-se o texto ancora

Thank you

  • 1

    Dear Lucas, please don’t duplicate the questions. Removing the question and also asking the other closed will not solve the problem, I recommend following the tips already given to you by the colleague in the other post. Important you [Dit] your question and explain objectively and punctually the difficulty found, accompanied by a [mcve] of the problem and attempt to solve. To better enjoy the site, understand and avoid closures and negativities worth reading the Stack Overflow Survival Guide in English.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.