6
rated 0 times
[
11]
[
5]
/ answers: 1 / hits: 15266
/ 14 Years ago, sat, july 17, 2010, 12:00:00
how can i add more behaviour to existing onclick events e.g.
if the existing object looks like
<a href=http://abc onclick=sayHello()>link</a>
<script>
function sayHello(){
alert('hello');
}
function sayGoodMorning(){
alert('Good Morning');
}
</script>
how can i add more behavior to the onclick that would do also the following
alert(say hello again);
sayGoodMorning()
Best Regards,
Keshav
More From » html