I have a dropdown box right now that looks like this:
<select name="year" size="1">
<option value=http://www.webdeveloper.com/forum/archive/index.php/"02">2002</option>
<option value="03">2003</option>
<option value="04">2004</option>
<option value="05">2005</option>
<option value="06">2006</option>
</select>
Right now, 2002 is what it defaults to because it s the first item in the list, but what I need to do is have the current year "selected", but keep the values as they are, only 2 digits. Can someone help me here. I am very new to javascript.
Thanks!!
<select name="year" size="1">
<option value=http://www.webdeveloper.com/forum/archive/index.php/"02">2002</option>
<option value="03">2003</option>
<option value="04">2004</option>
<option value="05">2005</option>
<option value="06">2006</option>
</select>
Right now, 2002 is what it defaults to because it s the first item in the list, but what I need to do is have the current year "selected", but keep the values as they are, only 2 digits. Can someone help me here. I am very new to javascript.
Thanks!!