Lines Matching refs:id
2071 var id = Element.readAttribute(element, 'id');
2072 if (id) return id;
2073 do { id = 'anonymous_element_' + Element.idCounter++ } while ($(id));
2074 Element.writeAttribute(element, 'id', id);
2075 return id;
2888 var id = '_' + (Math.random()+'').slice(2);
2890 proto[id] = 'x';
2891 var isBuggy = (el[id] !== 'x');
2892 delete proto[id];
3294 var oldId = root.id, id = $(root).identify();
3295 id = id.replace(/([\.:])/g, "\\$1");
3296 e = "#" + id + " " + e;
3300 root.id = oldId;
3358 div.id = "prototype_test_id";
3381 id: "[@id='#{1}']",
3476 id: 'n = h.id(n, r, "#{1}", c); c = false;',
3515 id: function(element, matches) {
3516 return element.id === matches[1];
3654 id: function(nodes, root, id, combinator) { argument
3655 var targetNode = $(id), h = Selector.handlers;
3664 if (node.id === id) return [node];