Baseline Widely available
HTMLSelectElement.item()
ã¡ã½ããã¯ã鏿è¢ã®ãªã¹ãå
ã§å¼æ°ã§æ¸¡ãããä½ç½®ã«ãã HTMLOptionElement
ã«å¯¾å¿ãã Element
ãè¿ãã¾ããåå¨ããªãå ´å㯠null
ãè¿ãã¾ãã
JavaScript ã§ã¯ããã©ã±ããæ§æã« unsigned long
ã®å¤ãå
¥ãã selectElt[index]
ã®å½¢ã§ãselectElt.namedItem(index)
ã¨åçã«ãªãã¾ãã
item(index)
// or collection[index]
弿°
index
㯠unsigned long
ã®å¤ã§ããitem
㯠HTMLOptionElement
ã§ãã<form>
<select id="myFormControl">
<option id="o1">Opt 1</option>
<option id="o2">Opt 2</option>
</select>
</form>
JavaScript
// Returns the HTMLOptionElement representing #o2
elem1 = document.forms[0]["myFormControl"][1];
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4