Posted By

twofivethreetwo on 11/19/07


Tagged

select year drop down birthday


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

vali29
marteki
konpao


Birth Year Dropdown


 / Published in: HTML
 

A simple drop down of years for birthdays. From 1900 to 2007. Nothing special but faster to copy/paste then to type them all.

  1. <select id="birthyear" name="birthyear">
  2. <option value="2007">2007</option>
  3. <option value="2006">2006</option>
  4. <option value="2005">2005</option>
  5. <option value="2004">2004</option>
  6. <option value="2003">2003</option>
  7. <option value="2002">2002</option>
  8. <option value="2001">2001</option>
  9. <option value="2000">2000</option>
  10. <option value="1999">1999</option>
  11. <option value="1998">1998</option>
  12. <option value="1997">1997</option>
  13. <option value="1996">1996</option>
  14. <option value="1995">1995</option>
  15. <option value="1994">1994</option>
  16. <option value="1993">1993</option>
  17. <option value="1992">1992</option>
  18. <option value="1991">1991</option>
  19. <option value="1990">1990</option>
  20. <option value="1989">1989</option>
  21. <option value="1988">1988</option>
  22. <option value="1987">1987</option>
  23. <option value="1986">1986</option>
  24. <option value="1985">1985</option>
  25. <option value="1984">1984</option>
  26. <option value="1983">1983</option>
  27. <option value="1982">1982</option>
  28. <option value="1981">1981</option>
  29. <option value="1980">1980</option>
  30. <option value="1979">1979</option>
  31. <option value="1978">1978</option>
  32. <option value="1977">1977</option>
  33. <option value="1976">1976</option>
  34. <option value="1975">1975</option>
  35. <option value="1974">1974</option>
  36. <option value="1973">1973</option>
  37. <option value="1972">1972</option>
  38. <option value="1971">1971</option>
  39. <option value="1970">1970</option>
  40. <option value="1969">1969</option>
  41. <option value="1968">1968</option>
  42. <option value="1967">1967</option>
  43. <option value="1966">1966</option>
  44. <option value="1965">1965</option>
  45. <option value="1964">1964</option>
  46. <option value="1963">1963</option>
  47. <option value="1962">1962</option>
  48. <option value="1961">1961</option>
  49. <option value="1960">1960</option>
  50. <option value="1959">1959</option>
  51. <option value="1958">1958</option>
  52. <option value="1957">1957</option>
  53. <option value="1956">1956</option>
  54. <option value="1955">1955</option>
  55. <option value="1954">1954</option>
  56. <option value="1953">1953</option>
  57. <option value="1952">1952</option>
  58. <option value="1951">1951</option>
  59. <option value="1950">1950</option>
  60. <option value="1949">1949</option>
  61. <option value="1948">1948</option>
  62. <option value="1947">1947</option>
  63. <option value="1946">1946</option>
  64. <option value="1945">1945</option>
  65. <option value="1944">1944</option>
  66. <option value="1943">1943</option>
  67. <option value="1942">1942</option>
  68. <option value="1941">1941</option>
  69. <option value="1940">1940</option>
  70. <option value="1939">1939</option>
  71. <option value="1938">1938</option>
  72. <option value="1937">1937</option>
  73. <option value="1936">1936</option>
  74. <option value="1935">1935</option>
  75. <option value="1934">1934</option>
  76. <option value="1933">1933</option>
  77. <option value="1932">1932</option>
  78. <option value="1931">1931</option>
  79. <option value="1930">1930</option>
  80. <option value="1929">1929</option>
  81. <option value="1928">1928</option>
  82. <option value="1927">1927</option>
  83. <option value="1926">1926</option>
  84. <option value="1925">1925</option>
  85. <option value="1924">1924</option>
  86. <option value="1923">1923</option>
  87. <option value="1922">1922</option>
  88. <option value="1921">1921</option>
  89. <option value="1920">1920</option>
  90. <option value="1919">1919</option>
  91. <option value="1918">1918</option>
  92. <option value="1917">1917</option>
  93. <option value="1916">1916</option>
  94. <option value="1915">1915</option>
  95. <option value="1914">1914</option>
  96. <option value="1913">1913</option>
  97. <option value="1912">1912</option>
  98. <option value="1911">1911</option>
  99. <option value="1910">1910</option>
  100. <option value="1909">1909</option>
  101. <option value="1908">1908</option>
  102. <option value="1907">1907</option>
  103. <option value="1906">1906</option>
  104. <option value="1905">1905</option>
  105. <option value="1904">1904</option>
  106. <option value="1903">1903</option>
  107. <option value="1902">1902</option>
  108. <option value="1901">1901</option>
  109. <option value="1900">1900</option>
  110. </select>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: jennyturney on April 2, 2011

Thanks! Just what I needed :)

Posted By: aniketzr on June 19, 2011

A better solution will be with little bit of php and no lengthy coding required.

Posted By: diezel325 on February 12, 2012

Thanks, epic cba typing it all out :P

Posted By: diezel325 on February 12, 2012

Thanks, epic cba typing it all out :P

You need to login to post a comment.