I will try that and see if that makes a difference?
Mybe someone else seeing the post might have more understand of java script and help me through it.
I will let you know if it works or does not
THANKS
Frank H. Shaw
--------------- Added [DATE]1235867361[/DATE] at [TIME]1235867361[/TIME] ---------------
Quote:
Originally Posted by Frank H. Shaw
I will try that and see if that makes a difference?
Mybe someone else seeing the post might have more understand of java script and help me through it.
I will let you know if it works or does not
THANKS
Frank H. Shaw
|
Nope still does not work - can someone help me with the handshaking bettween my form and java script.
THANKS
Frank H. Shaw
--------------- Added [DATE]1235873445[/DATE] at [TIME]1235873445[/TIME] ---------------
I need to tell if my java script is being called now that my leastest version of my templete i now get my selection in the dropdown to actual display the correct calendar the one selected by the user in the drop down.
Here is the working copy you can see the changes i had to make!
PHP Code:
<script type="text/javascript"> function process_selected(this.form) {
on.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="submit" class="button" value="$vbphrase[go]" onclick="process_selected(this.form)" <br />
</div>
</form>
Ok The above works but how can i debug my java script so that I know it is being called without have header output errors which would happen if i just do a echo someone must have a trick that i can use.
I could do a echo and then exit but that will not really helo if i want to keep the web page coming up and if i use the echo the web page will over write my echo?
THANKS
Frank H. Shaw