selecté¸æããã¯ã¹ãåçã«ä½ã â JavaScriptã§ããããªæãã®ãé¸æè¢ãåçã«å¤ããé¸æããã¯ã¹ä½ããµã³ãã«ã§ãã æåã«é¸ãã é¸æããã¯ã¹ã«ãã£ã¦ã次ã®é¸æããã¯ã¹ã®é¸æè¢ãå¤ããã¾ãã 解説 ãã©ã¼ã ã®<select>+<option>ã¿ã°ã§ä½ã£ãé¸æããã¯ã¹ã¯ã Selectãªãã¸ã§ã¯ãã¨ãã種é¡ã®ãªãã¸ã§ã¯ãã«ãªãã¾ãã Selectãªãã¸ã§ã¯ãã¯ãoptionsã¨ããé¸æè¢ã®é åãæã£ã¦ãã¾ãã ããã«ã¢ã¯ã»ã¹ãããã¨ã§ãåçã«é¸æè¢ã®å 容ãå¤ãããã¨ãã§ãã¾ãã selectãªãã¸ã§ã¯ã(é¸æããã¯ã¹)ãåå¾ããã«ã¯ã ã¿ã°ã§<select name="é¸æããã¯ã¹å" ãã§ååãã¡ããã¨ã¤ãã¦ã form name="ãã©ã¼ã å" ã§ååãã¡ããã¨ã¤ãã¦ã ãã©ã¼ã å.elements["é¸æããã¯ã¹å"] ã¾ã㯠ãã©ã¼ã å.é¸æããã¯ã¹å ã§
{{#tags}}- {{label}}
{{/tags}}