View Single Post
  #2 (permalink)  
Old 05-12-2008, 02:02 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Is there any way to call multiple functions with a single event?

hi,
I think u can call mutiple functions in a single event
HTML Code:
<!-- call the multiple functions in single evey --> <input type="button" onclick="test1();test2();" value="Click"/> <script>
//# - Function1
function test1()
{
	alert('test1');
}
//# - Function2
function test2()
{
	alert('test2');
}
</script>
I hope it will help u
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote