<script type="text/javascript">
function show(v){
alert(v);
}
function show2() {
alert(10);
}
function bntfun()
{
var m = 100;
setTimeout("show(" + m + ")", 1000);
setTimeout(show2, 3000); //或 setTimeout("show2()", 2000);//注意如果这样写setTimeout(show2(), 2000);就会立即执行,起不到延时的作用
}
</script>