Please look at this my calendarjump templete and have modifyed the one that comes out of the box.
I plan to add more logic to my java script function first i got to get the basic stuff to work first.
Can someone give me a idea why or what i am doing wrong when the user press the "Go" button nothing happens and it should it least go select another calandar.
Please review what i have posted below and let me know what i am doing wrong a example of what it should look like would help me greatly.
PHP Code:
<script type="text/javascript"> function process_selected(form) {
this.form.submit();
}
</script>
<form action="calendar.php" method="get">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="month" value="$month" />
<input type="hidden" name="year" value="$year" />
<input type="hidden" name="do" value="$docalendar" />
<strong>$vbphrase[Lodge_Calendar]</strong><br />
<select name="c" >
<optgroup label="$vbphrase[please_select_one]">
$jumpcalendarbitsl
</optgroup>
<input type="hidden" name="me" value='2'" />
</select>
<input type="button" value="Go" onclick="process_selected(this.form)" <br />
</div>
</form>
THANKS
Frank H. Shaw