Hmmm, unless I'm being crazy, can you just do this:
html code:
<form action="./date.php" method="get">
<input type="text" id="year" name="year" value="Enter Year" />
<button type="submit">Go To</button>
</form>
<form action="./date.php" method="get">
<input type="text" id="month" name="month" value="Enter Month/>
<input type="text" id="year1" name="year" value="Enter Year" />
<button type="submit">Go To</button>
</form>
?
(you may also need to restyle the form tags to remove margins/etc this way, but it's a better way than doing onclick=location.href stuff)EDITED: 3 Aug 2010 20:20 by BOUGHTONP