Jquery Click in li
        Posted  
        
            by 
                cKendrick
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by cKendrick
        
        
        
        Published on 2012-12-10T22:33:32Z
        Indexed on 
            2012/12/10
            23:04 UTC
        
        
        Read the original article
        Hit count: 258
        
jQuery
I have my html set up like this:
<li>
    Header
    <button>Edit</button>
</li>
And I was wondering if there is a way so that you can click on the li and have one action happen and click on the button and have another action happen. Right now if I have a jquery click element on the li it gets fired when you hit the button to. Is there a way to make this separate without changing the html structure?
© Stack Overflow or respective owner