如果阅读过上一部分,或者已经为使用的浏览器安装了插件,可以直接下载本文中的代码查看示例X Forms。
If you are following along, or you already have a plugin working with your favorite browser, you can jump in and download the code for this article and view the example XForms.
将清单1的代码复制到该文件内,并在浏览器中加载此文件(参看下载部分以获得本文使用的所有示例HTML文件)。
Copy Listing 1 into the file, and load the file in your browser. (See Download for all the example HTML files for this article.)
虽然第一眼看到代码时,就发现这个脚本中的一些错误十分明显,但是代码在Web浏览器中提供了无用调试信息的极好示例。
While some of the errors in this script are fairly obvious from glancing at the code, the code provides a superb example of less-than-useful debugging messages in the Web browser.
运行此示例时,请在浏览器中查看由Jaxer生成的源代码。
When you run this sample, take a look at the source code produced by Jaxer in your browser.
下面的代码示例演示如何在页上的文本框中显示浏览器信息。
The following code example shows how you can displays browser information the information in a text box on the page.
下面的代码示例演示如何在页上的文本框中显示浏览器信息。
The following code example shows how you can displays browser information the information in a text box on the page.
应用推荐