This is a discussion on Is there any way to call multiple functions with a single event? within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; Hi all, Is there any way to call multiple functions with a single event? eg: <SCRIPT LANGUAGE="JavaScript&...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi all, Is there any way to call multiple functions with a single event? eg: <SCRIPT LANGUAGE="JavaScript"><!-- functionname1() { .... } functionname2() { .... } functionname() { functionname1(); functionname2(); } //--></SCRIPT> <a href="#" onClick="functionname()">link</a> Like above example. Thanks & regards, vani |
| Sponsored Links |
| |||
| 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>
__________________ With, J. Jeyaseelan Everything Possible |
| |||
| I think u can call mutiple functions in a single event |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Insert Multiple records using single Insert Statement | vadivelanshanmugam | Database Support | 0 | 03-04-2008 09:26 PM |
| How to call PHP functions from ASP.net? | $enthil | ASP and ASP.NET Programming | 1 | 02-14-2008 07:04 PM |
| difference between call by value and call by reference | amansundar | Java Programming | 2 | 09-18-2007 12:34 AM |
| event.clientX and event.clientY is working in IE but not work in firefox? | senraj | HTML, CSS and Javascript Coding Techniques | 2 | 08-08-2007 04:27 AM |
| Function call and System call | vigneshgets | Operating Systems | 1 | 08-01-2007 05:18 AM |