function start(){a();b();}
function a (){$('#start').text("张三");}function b(){alert("hello world");}
我想要b()先执行。谢谢
你把b()放前面不就行了方法一:function start(){b();a();}
或者function start(){alert("hello world");a();}
想先执行的就放前面啊。