I have two div, Outer Div and Inner Div, both the div
attached with click event.
whenever i click inner div it alert outer div also, i want to prevent the event handler of Outer div when i click the Inner Div in Javascript
Here is my Javascript
function funOne()
{
//event.stopPropagation();
alert('Outer Div')
}
function funTwo()
{
//event.stopPropagation();
alert('Inner Div')
}
Here is the DEMO