faqts : Computers : Programming : Languages : JavaScript : Event handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 40 people (73%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Can we call 2 functions at a time?

Nov 9th, 2004 13:04
Ky Dang, Sushma Bokaro,


<script>
  Function myFuncOne()
  { myCodesHere }
  Function myFuncTwo()
  { myCodesHere }
  Function runMyFunctions()
  { myFuncOne();
    myFuncTwo();}
</script>
<body>
<form>
  <input type="button" value="Go" name="B1" onclick="runMyFunctions();">
</form>
</body>