JQUERY, getting two BINDs/Clicks to play nice together?
- by nobosh
I have the following line of code:
<li id="1" class=" ">
<a href="">Parking Lot</a>
<span id="1" class="list-edit">edit</span>
</li>
I then have two binds:
$("#lists li").click(function(){.......
$(".list-edit").click(function(){.........
The problem I'm having is I need the LI to contain the EDIT span because of CSS styling reasons, I have a big blue background. But this is preventing me from binding the EDIT btn. Is there a way to get these two to play nice?
Thxs