1.Try this:
<inputtype="button"onclick="function1();function2();"value="Call2Functions"/>
2.Call second function at the end of first function
function func1(){//--- some logic
func2();}function func2(){//--- some logic}
and call func1() onclick of button:
<inputtype="button"onclick="func1();"value="Call2Functions"/>
全站熱搜
留言列表