Then through the use of DOM manipulation, the controller injects transformed HTML fragments into the widget template.
然后,通过使用DOM操作,控制器将经过转换的HTML片段注入到小组件模板中。
Remember, the DOM will create well-formed HTML, meaning that the element is currently empty, with both a starting and ending tag.
要记住,DOM会创建结构良好的HTML,就是说这个目前为空的元素包括起始和结束标签。
The XML models described in the previous section are transformed into HTML fragments and injected into the widget DOM.
上一节描述的XML模式将被转换为HTML片段,并注入到小组件DOM中。
This function is automatically triggered only after the HTML file's DOM has finished loading.
该函数只有在HTML文件的DOM完成加载后才会自动触发。
However, you could easily create some HTML on the page that listed each of these results; it's just a matter of boilerplate DOM code.
尽管如此,可以方便地在页面中创建HTML来列举每个结果;只是些样板DOM代码。
As a final note on HTML parsing, you reviewed how to use the DOM extension solely for the purpose of converting back into SimpleXML, for a unified interface to all XML-like languages.
关于HTML解析的最后一点说明是,对于所有xml类语言的一个统一接口,您复习了如何只使用DOM扩展将HTML转换回SimpleXML。
New features from the HTML 5 specification are also present in Firefox 3 such as improved drag-and-drop support and new DOM attributes related to focus management.
HTML5规范的新特性也在Firefox3中有所体现,如改进的拖放支持和涉及到焦点管理的新的DOM属性。
The DOM Explorer allows developers to examine and manipulate the Document Object Model of an HTML page.
DOM资源管理器(DOMExplorer)使得开发者可以检查并操作HTML页面中的文档对象模型(Document Object Model)。
The main purpose of semantic tags is to re-use the normal content of an HTML document, and to annotate it with meta-information that is evaluated during Document Object Model (DOM) parsing.
语义标签的主要目的是再使用HTML文件的正常内容,并使用在DocumentObjectModel(DOM)分析期间评价的源信息对其进行注解。
It adds a listener to the button, then puts them both into HTML elements whose document object model (DOM) IDs match the strings passed to RootPanel.get .
它将向按钮添加侦听程序,然后将按钮和标签都放入文档对象模型(DOM)ID匹配传递给RootPanel . get的字符串的HTML元素。
Annotation works on a document Object Model (DOM) version of a parsed HTML document by applying annotations to DOM elements that are selected by XPath statements. For example, the statement.
注释通过将注释应用到xpath语句所选择的文档对象模型(Document Object Model,DOM)元素上在一个已解析的HTML文档的DOM版本上工作。
The loadHTML function loads an HTML snippet from a given URL and injects it into the sandboxed DOM element.
loadHTML函数从一个给定URL加载一个HTML代码段,并将其注入沙箱DOM元素中。
DOM actually originated as an object model for standardizing scripting operations on HTML and XML objects in Web browsers.
DOM最初源于Web浏览器中对HTML和XML对象标准化脚本操作的对象模型。
Then the prepared HTML code is added to the DOM tree, which triggers the Dojo parser to render the new fragment of the page.
然后将准备好的HTML代码添加到DOM树,从而触发Dojo解析器呈现页面的新片段。
Easy HTML DOM traversal using jQuery selectors and binding selected elements to events.
利用jQuery选择器(selectors)简化HTML DOM遍历,并将所选元素绑定到事件。
The initialize() function gropes through the DOM of the applet and its parent HTML document looking for an existing session ID in the form of a cookie, and disabling menus appropriately.
initialize()函数在 applet的DOM以及包含它的HTML文档中搜索前进,寻找用cookie形式保存的会话ID,并禁用适当的菜单。
A good workaround is to use the DOM extension to load the HTML page as a DOM document and then convert it to SimpleXML, as in Listing 8.
一种好办法是使用DOM扩展,将HTML页面作为DOM文档载入,然后将其转换为SimpleXML,如清单8所示。
The basic premise in jQuery is a jQuery selector, which can be used to select elements from an HTML DOM and operate on them.
jQuery的基本前提是jQuery选择器,它被用来从HTML DOM中选择元素并操作这些元素。
In case it isn't obvious what the code in Listing 6 does, MochiKit defines a lot of HTML DOM shortcut functions, which allow you to create the DOM structure of an hCalendar fragment quite easily.
如果清单6中的代码做什么不够清楚,MochiKit定义了大量的HTML DOM快捷函数,可以方便地创建hCalendar片段的 DOM结构。
The XForms model is part of the page's DOM, so you just use the document.getElementById() method, just like you would do to access an HTML div or an HTML input field.
XForms模型是页面DOM 的一部分,因此您只需使用document.getElementById()方法,正如您访问HTMLdiv或 HTML 输入字段那样。
If you want to learn more about the DOM, please visit our HTML DOM tutorial.
如果你希望学习更多关于HTML DOM的教程,请查阅我们的HTML DOM教程。
The DOM is a bit more involved and confusing for beginners (and applies to more than just HTML).
DOM是一个较为复杂和初学者混乱(且适用于多只用HTML)。
Adds an event handler for a named event on the HTML Document Object Model (DOM).
从HTML文件物件模型(DOM)上的具名事件移除事件处理常式。
Describes how to obtain the original, unmodified HTML source, and how to obtain the "live" source that reflects the current state of the DOM.
描述如何获取原始的未修改的html源,以及如何获取反映DOM当前状态的“实时”源。
Describes how to obtain the original, unmodified HTML source, and how to obtain the "live" source that reflects the current state of the DOM.
描述如何获取原始的未修改的html源,以及如何获取反映DOM当前状态的“实时”源。
应用推荐