Deadweight
03-28-2014, 06:47 PM
I have a nav menu with a drop down menu like the one below:
<div id="nav"><ul>
<li>one</li>
<li>two</li>
<li>three
<ul>
<li>1-1</li>
<li>1-2</li>
</ul>
</li>
<li>Four</li>
</ul></div>
When i click on a li in the ul it wont give me the right text or index.
Any way i can get the certain index that is selected?
<div id="nav"><ul>
<li>one</li>
<li>two</li>
<li>three
<ul>
<li>1-1</li>
<li>1-2</li>
</ul>
</li>
<li>Four</li>
</ul></div>
When i click on a li in the ul it wont give me the right text or index.
Any way i can get the certain index that is selected?