为什么火狐中Javascript不能调用VBScript定义的函数
<scripttype="text/vbscript"runat="server"language="vbscript">functionaaa(bbb)msgboxbb...
<script type="text/vbscript" runat="server" language="vbscript">
function aaa(bbb)
msgbox bbb
aaa=bbb & 1
end function
</script>
<script type="text/javascript" language="javascript">
function aft(){
afg.value=aaa(afg.value);
}
</script>
<p>
<input type="button" id="afg" onclick="aft">
在IE中点击afg每次弹出对话筐提示AFG当前的值并自动添加“1”到末尾,而在FireFox中,会有aaa is not defigned错误 展开
function aaa(bbb)
msgbox bbb
aaa=bbb & 1
end function
</script>
<script type="text/javascript" language="javascript">
function aft(){
afg.value=aaa(afg.value);
}
</script>
<p>
<input type="button" id="afg" onclick="aft">
在IE中点击afg每次弹出对话筐提示AFG当前的值并自动添加“1”到末尾,而在FireFox中,会有aaa is not defigned错误 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询