且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将以下几行从ASP VBScript转换为JavaScript?

更新时间:2023-12-02 16:28:10

您的翻译字样不应该太困难。但是,我提醒您在翻译时不要从网络上复制/粘贴解决方案。很多编码员都有大师或经常使用真正的,非常深奥的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.