Windows应用程序中的Javascript / jquery [英] Javascript/jquery in windows applications
问题描述
这可能是一个愚蠢的问题但可以在Windows应用程序中使用javascript / jQuery吗?
This might be a stupid question but is it possible to use javascript/jQuery in windows applications?
我在vb.net中制作此应用程序,仅供个人使用我只是让它练习并了解更多有关vb.net编程的信息。
Im making this application in vb.net, just for personal use and im just making it to practice and to learn more about vb.net programming.
我知道javascript是针对Web应用程序的,但也许有办法在windows中使用它们申请以及。
I know javascript is ment for web applications but maybe there are ways to use them in windows applications aswell.
欢迎任何回复或评论。
提前致谢:)
推荐答案
您可以通过 Jint 运行JavaScript代码,但JQuery在很大程度上依赖于 DOM ,所以使用JQuery来处理VB.net UI是不可能的。
You may be able to find some success with something like Jint to run JavaScript code, but JQuery relies heavily on the presence of the DOM, so using JQuery to work with a VB.net UI isn't going to be possible.
这篇关于Windows应用程序中的Javascript / jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!