JavaScript中文,JavaScript的意思,JavaScript翻译及用法

2025-11-24 06:51 浏览次数 13

JavaScript

英['dʒɑ:və,skrɪpt]美['dʒɑvə,skrɪpt]

n. Java描述语言(一种程序语言)

JavaScript 例句

英汉例句

  • The init() function will read all the files in the posts folder and format them as HTML using the Showdown JS library, which is a JavaScript port of the Markdown text-to-HTML conversion tool.

    init函数将会读取posts文件夹里的所有文件并且使用ShowdownJS库将他们格式化为HTML文件。

  • You can also modify HTML on a page, view the source for a specific area of the page, and make all kinds of modifications without having to write any JavaScript whatsoever.

    你也可以在网页中修改HTML,查看网页上某个特定区域的源码,可以在不写任何脚本语言的情况下做任何的修改。

  • The XML parser will parse the script as an XML document unless you enclose your script in a CDATA block. Therefore, a JavaScript element would now look like this.

    xml解析器将脚本解析成XML文档,除非您将脚本封装入cdata块中。

  • JavaScript vs. no JavaScript. In our weather example, we can modify the WML JSP to take into account the capabilities of the WML client.

    在我们的天气示例中,我们可以对WMLJSP进行修改,使它考虑进wML客户机的能力。

  • This is the page that all our JavaScript will be in, and the page that users will visit to see the ajax script in action. Let「s call this file ajax.html.

    这个页面将是我们的js脚本所在,并且这个页面将会让用户们访问柄看到Ajax脚本的运行。

  • Another example is the unbobtrusive Flickr badge that uses the JSON output of Flickr to show your latest photo when JavaScript is available but only a link to them when it is turned off.

    另一个列子是不太显眼的Flickr头像,Flickr用json输出显示你最新相片,当用户禁用脚本,哪个位置显示的只是一个链接。

  • Before you start dealing with client-to-server connections, you」ve got to make sure your images call a function. So let「s start with a simple placeholder JavaScript function.

    在开始处理客户到服务器的连接前,需要首先确保图像能调用函数。

  • Another important feature of JavaScript frameworks is its improved support for event handling.

    框架的另一重要特性是其改进的事件处理支持。

  • Next, we need to assign the init() JavaScript function to the tag」s onserverload event.

    然后,我们需要将init()这个JS函数指派给标签的onserverload事件。

  • Your JSON document doesn「t contain any markup, just the URLs and metadata for the images your JavaScript code turns into a slide show.

    我们的JSON文档不包含任何标记,只包含要转换为幻灯片的图像的URL和元数据。

  • The second page of the wizard is the Import JavaScript Library screen.

    向导第二个页面是导入JS库。

  • Of course, all that data modification isn」t of much value if you can「t easily convert back into the textual format mentioned in this article. That」s also trivial in JavaScript

    当然,如果不能轻松地将对象转换回本文提到的文本格式,那么所有数据修改都没有太大的价值。

  • Rauch: Node.js is a framework for building networked applications in JavaScript outside of the browser.

    Rauch:Node . js是一个在浏览器外部创建互联网应用程序的框架。

  • file, implement the following JavaScript function. It is bound to the onkeyup() event of the class_activity input field.

    它一定是 class_activity输入字段的onkeyup()事件。

  • If your extension needs to interact with web pages, then it needs a content script. A content script is some JavaScript that executes in the context of a page that「s been loaded into the browser.

    你希望可以和网页互交,内容脚本必不可少,一个内容脚本可以对加载在浏览器中的网页处理,把内容脚本当作加载网页的一部分吧,不是扩展的一部分。

  • Using descriptive HTML elements with default behavior saves a lot of time writing JavaScript code to simulate the behavior with general-purpose DIVs.

    使用默认行为的描述性html元素可以避免用大量代码模拟通用DIV的行为。

  • The next step is to selectively hide and show the right entries based on the user」s cookie. I added the following JavaScript to public/javascripts/application.js

    下一步,根据用户的cookie选择性地隐藏和显示正确的条目。

  • Whether that means using the prefixes in your stylesheet, putting your vendor-specific code into separate stylesheets, or using a JavaScript solution like Gustafson's is up to you.

    直接在样式表中使用这些前缀、将这些特定前缀的样式写到单独的分离的文件中或者是使用古斯塔夫森提供的这种类似的脚本来解决它。

  • Think: external JavaScript links, external RSS feeds, advertising services, APIs, etc.

    想想:外部js引用、外部rss种子、广告服务、各种接口等等。

相关热词