javascript可以调用page内的vbscript函数。
很多时候,就方便多拉。比如一个html内
<script language="vbscript">
function cAbs(value)
cAbs=abs(value)
end function
</script><script language="jscript">
alert(cAbs(-1));
</script>
很多时候,就方便多拉。比如一个html内
<script language="vbscript">
function cAbs(value)
cAbs=abs(value)
end function
</script><script language="jscript">
alert(cAbs(-1));
</script>
我知道提问是jscript的,我故意怎么回答,是因为开发人员有这种习惯:以前是做vbscript的,知道有个绝对值函数
然后现在用jscript,想知道绝对值函数或方法是哪个。