<script type="text/javascript">
var obj=funcation(message)
{
alert(message);
}
function test()
{
obj(""javascript 赋值函数运用"");
}
</script>
<html>
<head>
<body>
<input type="button" id="btnTest" οnclick="test()"/>
</body>
</head>
</heml>
<script type="text/javascript">
var obj=funcation(message)
{
alert(message);
}
function test()
{
obj(""javascript 赋值函数运用"");
}
</script>
<html>
<head>
<body>
<input type="button" id="btnTest" οnclick="test()"/>
</body>
</head>
</heml>
转载于:https://www.cnblogs.com/solomon_Blog/archive/2011/08/13/2137121.html