这个意思吧
<script>
function fun1(para)
{
alert(para);
} function fun2(par1,par2,fun)
{
//xx为函数执行过程中产生的数据
var xx='test';
fun(xx);
}fun2(1, 2, fun1); //test;</script>
<script>
function fun1(para)
{
alert(para);
} function fun2(par1,par2,fun)
{
//xx为函数执行过程中产生的数据
var xx='test';
fun(xx);
}fun2(1, 2, fun1); //test;</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货