A good explination on how to bind a click event inside of another click event by using stopPropagation() : http://www.pixelmedia.com/blog/binding-a-click-event-inside-a-click-event-with-jquery/