Auto Month

By JavaScriptSource Staff on Apr 19, 2007


This pulldown menu will automatically adjust the range of months so that the current month is at the top. The remaining months are placed in order after the current month. The menu still functions with JavaScript turned-off.

Select Month


  • Created by: Fang
  • Web Site: Web Developer Forum
  • Gil Davis
  • Posted: April 19, 2007

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: autoMonth.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document


Blog comments powered by Disqus