é ¼ã¾ãåå¿é²ãªã®ã§è»½ãã 30ç§ã§èªãã¾ãï½ JavaScriptã§Formè¦ç´ ã®å¤ã®åãæ¹ getElementByIdã§ç´æ¥ form['hoge'].elements['piyo']ã¨ãï¼[ ]ã«ã¯nameã®å¤ hoge.piyoã¨ãï¼nameã®å¤ã§ãããã¤ãªã ä»ã«ããã£ã±ããããã©ã ã§ã <form action="" name="f"> <input type="text" name="v1" value="aaa" /> <input type="text" name="v2" value="bbb" /> </form> ããããHTMLããã£ã¦ãåè¦ç´ ã®`value`ãæä½ãããã¨ããã // Case 1: OK var x = document.f.elements['v1']; x.value = "Nya"; // Case 2: NG var y = docu
{{#tags}}- {{label}}
{{/tags}}