如何将以下几行从ASP VBScript转换为JavaScript? [英] How can I translate the following lines from ASP VBScript to JavaScript?

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

问题描述

我有一个ASP小页面。在程序的一部分中,当用户单击按钮时,我使用以下代码调用名称为 SubmitForm VBScript 子例程:


I have a small page with ASP. In one part of the program, when the user clicks on a button, I use the following code to call a VBScript Subroutine with the name of SubmitForm:


展开 | 选择 | Wrap | 行号

推荐答案

您的翻译字样不应该太困难。但是,我提醒您在翻译时不要从网络上复制/粘贴解决方案。很多编码员都有大师或经常使用真正的,非常深奥的javascript功能。您只需要知道一点点javascript来执行转换,但我建议您在实施解决方案之前先了解一些JavaScript。你不能得到程序员开发的支持,他们的风格你真的不知道。

JavaScript
Your "translation" shouldn''t be too difficult. However, I caution you not to copy/paste solutions from the web when translating. Alot of coders out there are gurus or frequently use really, really esoteric features of javascript. You need to know only a little javascript to perform your conversion, but I''d suggest learning a little more about JavaScript before you implement a "solution" you cannot support developed by a programmer who''s style you don''t really know.

JavaScript


我同意Jerry,但我会给你一个解决方案。我建议你从asp response.write命令中取出这么长的段落,然后编写它。一旦你这样做,将它翻译成javascript而没有额外的flurries非常简单。
I agree with Jerry, but I will give you a solution. I would recommend that you take such a long passage out of the asp response.write command, and just write it. Once you do that, translating it to javascript with no extra flurries is very simple.
展开 | 选择 | Wrap | 行号


感谢您的关注,杰里。


我会尝试按照你的建议做同样的事。但是,目前,我需要解决方案。


我打算参加一门JavaScript课程来学习它的基本命令。
Thank you for you kind attention, Jerry.

I''ll try to do the same as you advised me to. But, for the moment, I need the solution.

I''m planning to take a JavaScript course to learn its basic commands.


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

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