简体   繁体   English

如何在vbscript中调用JavaScript函数

[英]How to call a javascript function in vbscript

I need to assign the result of a javascript function to a variable in vbscript 我需要将javascript函数的结果分配给vbscript中的变量

<script language="javascript">
    function answer_process() {
    var aux = document.getElementById('complete');
    return aux.value;
    }
</script>

<%
    ....
    Dim despesa_aux 
    despesa_aux = answer_processo()
    ....
%>

I need to know the best way to do this. 我需要知道执行此操作的最佳方法。

Thanks in advance 提前致谢

despesa_aux = call answer_processo()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM