在VB.NET中调用javascript [英] Call javascript in VB.NET

查看:89
本文介绍了在VB.NET中调用javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在VB.NET中调用Javascript?



我尝试过:



因为当我发现这个 [ ^ ]



如果有可能我想知道他是如何使用代码片段做的那样,我已经检查了代码片段,如果有一个javascript要写。但我什么都没发现,或者只是我不知道在哪里。



谢谢。

Is it possible to call Javascript in VB.NET?.

What I have tried:

Because when i found this [^]

If it is possible i want to know how did he do that using the code snippet, i already check the code snippet if there's a javascript to write with. But i found nothing or it just i don't know where.

Thanks.

推荐答案

你无法调用javascript:您将javascript嵌入到您正在组装的页面中,并在响应完成时将其发送到客户端的浏览器。服务器端代码正在执行时,javascript未运行,服务器正在处理来自客户端计算机的回发(通常作为对用户操作的响应)。
You can't "call javascript": you embed javascript into the page you are assembling, and it is sent to the client's browser when the response is complete. "The javascript" isn't running while the server side code is executing, the server is just processing a post back from the client machine (normally as a response to user action).


这篇关于在VB.NET中调用javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆