I have this structure:
<ul>
<li><a></a></li>
<li><a></a></li>
</ul>
Okay, what happens, is that sometimes I need to put the <a>
link above the li
and not inside, as it is in the structure.
How do you do? I already used window.location
, but wanted to know if there is any way to do it without using javascript .