I'm trying to change the value of the href attribute which is inside the li and i'; trying to identify it with the custom attribute data-id
Is it possible to get the li based on custom id and change the href inside it?
<li data-id="outline">
<div>
<a href="abc/abd/ccc/html">Answer</a>
</div>
</li>