以下语法用于根据标记和类名选取元素。
And the following syntax for selecting by tag and class name.
ExtJS使用类似的方式,用以下语法根据ID选取元素。
ExtJS works in a similar manner, with the following syntax for selecting an element by id.
根据标记名选取元素非常有用,但如果只是想根据css类选择一个元素子集,该怎么办呢?
Selecting elements by a tag name is useful, but what if you only want to select a subset of elements, based on their CSS class?
因为需要用户名,对于本例,可以首先选取一个标签,这通过从元素(右边)拖放完成。
Since you need the user's name, you can initiate the example by choosing a label from the elements (on the right side) by dragging and dropping.
所分析的元素应当是在全局范围内选取的,并且它们的选取取决于当前分析目标。
Profiled elements should be selected at the global level, and their selection depends on the current profiling goal.
在前面的例子中,必须提供需要选取的元素的ID。
In the previous examples, you must provide the id of the element you want to select.
由于需要用户名,从右侧元素中选取一个标签拖放到表单中。
Since you need the user's name, choose a label from the elements at the right by dragging it onto the form.
在该视图中,可以选取表单元素。
在该视图中,可以选取表单元素。
他们可以仅选取关心的元素。
在本例中,可以使用以下语法选取所有td元素。
In this instance, you can select all td elements using the following syntax.
选取这些groupleader元素需要稍微复杂的技巧。
Selecting these group leaders elements requires a somewhat complicated trick.
contains—选取所有包含作为参数传递给选择器的文本的元素(例如,contains ('thistext '))。
Contains - select all elements that contain the text passed to the selector as an argument (for example, contains (' this text ')).
enabled—选取所有启用的元素。
当用户选取列表元素后执行 onSelect函数。
The onSelect function is executed when the user selects a list element.
除了选取该元素,MooTools还可通过一系列实用函数扩展此元素。
In addition to selecting the element, MooTools also extends the element with a series of MooTools utility functions. The syntax for doing so is.
prototype库则更进一步,允许通过ID一次选取多个元素,并返回元素数组。
The Prototype library goes a step further, allowing multiple elements to be selected by ID at any one time, and returning an array of elements.
为此,它将选取列表的第一个元素 — 列表头部 —来对该元素执行处理,然后再递归式地将列表的其余部分传递给自身。
To do so, it will pick off the first element of the list — the head — to do the processing on that element, and recursively pass the rest of the list to itself again.
表示选取这些匹配元素中的第一个元素。
另外一种常见运算是从列表中选取一些元素,然后返回一个次级列表。
Another common operation is to select some of the elements from a list and return a sublist.
一种处理模式,遍历一个列表,选取其中满足特定规则的一些元素。
A processing pattern that traverses a list and selects the elements that satisfy some criterion.
介绍了灰度阈值和结构元素的选取方法,并提出了灰度阈值自适应获得的进一步研究方向。
Introducing the select methods of gradation threshold and structure element, and proposing the further direction in the research of self adapted obtaining of gradation threshold.
切片运算符也可以用于选取某一区间的元素。
根据特征元素树创建了基准面和基准坐标系,使我们很方便的在需要参照基准的时候来选取它。
According to feather element tree, the base level and base coordinate system are created, then we can choose them when we need them at any time.
介绍了数学形态学的基本运算及数学形态学在图像处理中的主要应用,并讨论了结构元素的选取方法。
Introduce the basic operation of mathematical morphology and application in image processing, and the method of selecting structure element.
选取成都金沙遗址揭露的广汉层中一个代表性剖面,对其元素地球化学行为进行了初步研究。
A representative section is chosen in Guanghan layer exposed in the Chengdu Jinsha site in this article, and an initial research into its element geochemical behavior is done.
这些工具可用于从数据库中选取特定属性或创建一个由较小区域构成的新的元素类,。
These tools can be used to select specific attributes from a database or create a new feature class that consists of a smaller area.
这种方法的关键就是结构元素值的正确选取,不同结构元素值下的分割结果不同。
The key of this method is to select the correct value for structure elements. Different structural elements of the segmentation may produce different results.
对快速排序算法,基于枢轴元素的随机选取这一前提条件,对这一算法进行了时间平均性能的分析。
To the problem of quick-sort, the authors give an average capacity analysis of the algorithm which is based on random choice 'pintle'.
对快速排序算法,基于枢轴元素的随机选取这一前提条件,对这一算法进行了时间平均性能的分析。
To the problem of quick-sort, the authors give an average capacity analysis of the algorithm which is based on random choice 'pintle'.
应用推荐