Windows应用程序中的Javascript / jquery [英] Javascript/jquery in windows applications

查看:101
本文介绍了Windows应用程序中的Javascript / jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题但可以在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屋!

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