just a quick question. I\'m having a problem with divs with onclick javascript within each other. When I click on the inner div it should only fire it\'s onclick javascript,
This worked for me in Jquery:
$('#outer_element').click(function(event) {
if(event.target !== event.currentTarget) return;
alert("Outer element is clicked")
});
This way, if the current target is not the same as the outer div, it will do nothing. You can implement normal functions on the child elements.