The matching algorithm is based on element ID.
这个相匹配的算法是基于元素ID的。
Thus, while you are limited by having only one element per ID on a page, you can have many elements with the same CLASS on a page.
因此,尽管受到同一页面的每个元素只有一个ID的限制,同一页面上的多个元素仍然可以拥有相同的CLASS。
This embedded script gets the runtime name (ID) for the element specified by its design-time name.
该嵌入脚本将获取由元素的设计时名称指定的运行时名称(ID)。
You can see the rules using ID, class, and element selectors matching parts of Listing 1.
可以看到,样式表规则使用ID、类和元素选择器匹配清单1的各部分内容。
To move, modify, or delete a graphics element, this ID is passed as a parameter to the respective member function on the containing Canvas object.
要移动、修改或者删除图形元素,该ID将作为参数传递给包含画布对象的各个成员函数。
For assistive technology to identify the element on the HTML page, the id should be unique, or there will be confusion about which element is the correct one.
对于用来识别HTML页面上的元素的辅助技术来说,ID应该是惟一的,否则就会产生混乱,无法确定哪一个才是正确的元素。
The first entry should be the ID of the HTML element where the resulting message should be displayed.
第一项应该是这个HTML元素的ID,结果消息应在此 HTML 元素内显示。
Getting an element by ID is something that's often done and, well, it's easy to mistype something with more than 20 characters in it!
通过ID获取元素是常用的方法,但是超过20个字符时很容易发生输入错误!
You would not need to know the ID and can leave out that attribute, letting the system create its own unique ID for that element.
而无需知道此ID并且可以省去该属性,让系统创建该元素的惟一id。
In the previous examples, you must provide the id of the element you want to select.
在前面的例子中,必须提供需要选取的元素的ID。
Finding an element based on its ID, element type, or CSS class name is very useful, but what if you want to find an element based on its position in the DOM tree.
根据ID、元素类型或CSS类名查找元素非常有用,但如何根据元素在 DOM 树中的位置执行查找呢?
The added SOAP header element includes the service ID of your target session bean.
这个添加的报头元素包含您的目标会话bean的服务id。
JQuery only returns the first matching element when using the ID selection, because it expects you to follow proper page design.
使用ID选择时,jQuery仅返回第一个匹配的元素,因为它要求您遵循正确的页面设计。
Take the revious example in Listing 7, where we took an element with the ID myField and applied three separate style properties to it.
再看看前面清单7 中的例子,我们用一个ID 为myField 的元素,对其应用三个不同的样式属性。
Otherwise, the else clause is evaluated, and DB2 returns an Info element containing only product ID and message data.
否则,执行else子句,DB2返回一个“info”元素,其中只包含产品ID和评语数据。
After you download MyWebService.nsf to your Lotus Domino 7 server, sign the Web service design element — MyWebservice — with an ID that can run restricted agents.
在把MyWebservice . nsf下载到LotusDomino7服务器之后,用可以运行受限代理的ID标记Web服务设计元素——MyWebservice。
For example, to get the name of Mary's team, you have to find the element whose ID value is 01.
例如,要获取Mary的团队的名称,您需要找到其id值为01的元素。
The repeat selects the input fields from the <xf:group> element with the ID "outbreak_details".
循环用ID “outbreak_details”从 <xf:group>元素中选择输入字段。
Assign an id to each text element that you refer to, so your script can retrieve them.
为所使用的每一个文本元素指定id,这样脚本就可以提取它们。
The script at the bottom creates a glider object with the id of the glider element.
底部的脚本创建一个Glider对象,该对象具有滑动块元素的id。
The id element is required by Atom and is a globally unique identifier (GUID) for this particular tweet.
id元素是Atom必需的,并且是这个特定的tweet的一个全局惟一的标识符(GUID)。
When you want an event on one element to cause an action to occur on another element, assign id attributes to SVG elements and reference them.
如果希望一个元素上的事件可以引发对另一个元素的操作,可以对SVG元素指定id属性,然后引用它们。
For each row in the database, an airport element will be created with an id attribute.
它还为数据库的每一行创建了一个airport元素,该元素带有id属性。
Keep in mind that attributes for an element must have unique names; in other words, an element cannot have two "id" or two "class" attributes.
记住,元素的属性必须具有惟一的名称,也就是说,一个元素不能有两个“id”或两个“class”属性。
Add a TextView element with id xmlresult to display the XML document, as in Listing 1.
添加一个id为xmlresult的TextView元素,以显示xml文档,如清单1中所示。
The UMLProfile element has the following attributes: id, name, path, required, and visible.
这个 UMLProfile元素拥有以下这些属性:id,名称,路径,需求的,以及可见的。
ExtJS works in a similar manner, with the following syntax for selecting an element by id.
ExtJS使用类似的方式,用以下语法根据ID选取元素。
The outer DIV element with an ID attribute value of sidebar contains an inner DIV element with a class attribute called gutter.
外边的DIV元素的ID属性值为 sidebar,这个元素包含的内部 DIV具有class 属性值gutter。
The outer DIV element with an ID attribute value of sidebar contains an inner DIV element with a class attribute called gutter.
外边的DIV元素的ID属性值为 sidebar,这个元素包含的内部 DIV具有class 属性值gutter。
应用推荐