▽1
●
rsc ●300ポイント ベストアンサー |
こちらは参考になるでしょうか。
<html> <head> <title></title> <script type='text/javascript'> function aaa() { document.writeln("aaa"); } function bbb() { alert("bbb"); } function hoge(foo){ foo(); } </script> </head> <body> <script type='text/javascript'> hoge(aaa); hoge(bbb); </script> </body> </html>