如何将此代码从VBScript转换为JavaScript? [英] How to Translate this Code from VBScript to JavaScript?

查看:355
本文介绍了如何将此代码从VBScript转换为JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个Web应用程序中有一段用ASP Classic编写的代码。


不幸的是,代码的某些部分是VBScript并且不能在FireFox中运行。我需要将其更改为JavaScript,但我不熟悉JavaScript。


任何人都可以帮助我吗?


这是VBScript中的一段代码。我需要有以下代码的JavaScript版本:

I have a piece of code in one of my web applications that has been written with ASP Classic.

Unfortunately, some part of the code is VBScript and does not run in FireFox. I need to change it to JavaScript, but I''m not familiar with JavaScript.

Can anyone help me?

This is the piece of code in VBScript. I need to have a JavaScript version of the following code:

展开 | 选择 | Wrap | 行号

推荐答案

它将有助于仅查看VBScript代码。
It would help to see just the VBScript code.


不幸的是,我不熟悉JavaScript。这就是为什么我要求专家帮助解决这个问题。
Unfortunately, I''m not familiar with JavaScript. That''s why I have asked experts'' help to solve this problem.


你所拥有的服务器端VBScript输出客户端VBScript。您要转换的是客户端VBScript,因为这是受浏览器影响的。既然这就是你要转换的内容,那么单独查看客户端VBScript会有所帮助。
What you have there is a server side VBScript that outputs client side VBScript. What you want to convert is the client side VBScript because that''s what''s affected by a browser. Since that''s what you want to convert, it would help to see the client side VBScript by itself.


这篇关于如何将此代码从VBScript转换为JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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