in reply to Drop Down Year List
Of course someone will come around and show how l44+ he is because he knows another way to write the loop.for (my $y = $year; $y <= $year + 9; $y++) { print "<option value = '$y'>$y</option>\n"; }
Oh, and as for showing it in an HTML page - I would have the user type in the (2 digit) year. Typing 2 characters is faster than using the mouse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Drop Down Year List
by Tanktalus (Canon) on Aug 21, 2009 at 02:20 UTC |