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

I have to some how get my java script function to work with my form so that when a event happens in the form my java script function will process what was selected.

A function or example would help since you offered THANKS

The other thing is the problem is the c value in the this.form.onsubmit(); in the select as the product came unmodifyed by me has a great deal to do with the selection of the calandar from the dropdown calendarjumo.

I have been doing a lot of testing and playing with a number of ways and at some point before leaving the dropdown the value needs to be set to c and not some otehr value which i tried.

I do not know where in the vbulletin product the actual logic is to do all this.

I did in my playing around realize that i could change the value from c to y and z and it would show up on the adress bar of the browser as a get for those items selected so somewhere in the logic in vbullettin the logic over writes what was selected in the dropdown and only a value of c will the actual navbar show the correct calendar selected.

I do not know if you can also shed some light on to what is happening and where this logic could be located.

Now can you explain what events are supprted in the java script and how to get the two to handshake.

THANKS

Frank H. Shaw

--------------- Added [DATE]1235858101[/DATE] at [TIME]1235858101[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
You may have javascript in your templates. But, isn't on.form.submit() just a basic javascript call that you can do on an onchange? Do you need a function for it?
THANKS Lynne

You say the on.form.submit() and only the onchange event is supported what about the onclick event etc.

Which ones are supported and which ones are not?

--------------- Added [DATE]1235864581[/DATE] at [TIME]1235864581[/TIME] ---------------

I realizied that my java script weather it is needed or not I added the function in my java script but that still did not solve the problem - I still not getting the handshaking bettween my form and the java script.

A good example of how I have to do it inside the templete would help and a little explianation also would help why my handshakeing is not working.

THANKS

Frank H. Shaw
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01255 seconds
  • Memory Usage 1,768KB
  • 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_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