本文介绍了从html页面调用vb函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi ..
我正在用HTML创建一个网站,我需要从HTML调用vb函数.
是否可以从HTML页面调用vb函数?
如果是这样的话,那么有人告诉我从HTML调用vb函数的方法.
hi..
I am making one site in HTML and I need to call vb function from HTML.
is it possible to call the vb functions from HTML page?
if it is so, anyone tel me the way to call the vb functions from HTML.
推荐答案
<html>
<body>
<script type="text/vbscript">
Function greeting()
i=hour(time)
If i < 10 Then
document.write("Good morning!")
Else
document.write("Have a nice day!")
End If
End Function
</script>
</head>
<body onload="greeting()">
</body>
</html>
If not, try Google[^].
这篇关于从html页面调用vb函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!