jsのセットメニューにパラメータを追加します。


jsでsettimeoutメソッドにパラメータを追加します。簡単に使ってw 3 schoolの中にパラメーターがないです。例:

<script type="text/javascript">
function timedMsg()
{
var a ="dd";
var t=setTimeout(function(){ cao(a);},3000)
}
function cao(a)
{
alert(a);
}
</script>
</head>
<input type="button" value=" " onClick = "timedMsg()">
私の今の問題は複数の間で最後の問題です。考えてみます。