日期:2014-05-16 浏览次数:20359 次
function trying(){ if(check()){ alert("test1"); s1(); alert("test3"); } function s1(){ alert("test2"); } }
<script type="text/javascript" language="javascript"> function trying(){ if(check()){ alert("test1"); s1(); alert("test3"); } function s1(){ alert("test2"); } } function check(){ return 1; } trying() </script>