View Single Post
  #5  
Old 02-28-2009, 10:25 PM
Frank H. Shaw Frank H. Shaw is offline
 
Join Date: Aug 2007
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01052 seconds
  • Memory Usage 1,797KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete