I am using the IE 6.x & Firefox 2.x
I am trying the event bubbling concept. Herez the code
[HTML]<html>
<head>
<script>
function call_function(e vt)
{ .........some_c ode_here....... }
</script>
</head>
<body>
<div onClick="return call_function(e vent);">
<a href="http:www. slashdot.org" traget="externa l">slashdot</a>
<a href="http:www. yahoo.com" traget="externa l">Yahoo</a>
</div>
</body>
</html>[/HTML]
on the click of the above links the call_function is not getting called.
What is it that I am doing wrong.
Chetan
I am trying the event bubbling concept. Herez the code
[HTML]<html>
<head>
<script>
function call_function(e vt)
{ .........some_c ode_here....... }
</script>
</head>
<body>
<div onClick="return call_function(e vent);">
<a href="http:www. slashdot.org" traget="externa l">slashdot</a>
<a href="http:www. yahoo.com" traget="externa l">Yahoo</a>
</div>
</body>
</html>[/HTML]
on the click of the above links the call_function is not getting called.
What is it that I am doing wrong.
Chetan
Comment