日期:2014-05-16  浏览次数:20445 次

js用方法做参数

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function aa(c)
{
?alert(c);
}

function bb(a,k){
??? if (k){
??alert('ggg');
?}else{
???? alert('vvvv');
?}

?alert("bb");
?a("cc");
}

var kk=0;
bb(aa,kk);
//-->
</SCRIPT>
<BODY>
????????????
</BODY>
</HTML>