Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Jun 2005, 00:24
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
onchange event help needed...

I need to have two variables get assigned when a user changes the setting of a select box. I'm not sure how to do this, but I am thinking that the onchange value in select can do what I am looking for it to do.

i.e. I have one select box
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and have it set two variables $x and $y to a default value just in case the user doesn't change the selection, while if the user does change the selection, then both the variables $x and $y change accordingly for each option.

I'm not a javascript guru, so I don't know how to do this, if anyone can assist here I would appreciate it. I don't want to have two select inputs on this...

Thank you!

)O( Cloudrunner )O(

this needs to be done without reloading the page, and in a form name=variable system so that I can pass that information to the next script via the $_POST variable...

anyone?

Anyone...Truth is I'm Javascript stupid folks, and I have not a CLUE on how to get this to work properly....

I have this thus far, and while it works in a standalone presence, when I try to add it to other pages, it chokes and I get nothing...

This is the test page...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Like I said, when I run this it works fine, but when I try to go live with it on a real page with true html / xml constructs, it chokes, no errors, but the "amount" variable is not passed within the $_POST global as if the form wrote it which is what I need to do...

Any help is appreciated...

Thanks

)O( Cloudrunner )O(
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...

Last edited by Cloudrunner : 03 Jun 2005 at 22:50. Reason: Automerged Doublepost
Reply With Quote
  #2  
Old 05 Jun 2005, 04:48
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
Originally Posted by Cloudrunner
I need to have two variables get assigned when a user changes the setting of a select box. I'm not sure how to do this, but I am thinking that the onchange value in select can do what I am looking for it to do.

i.e. I have one select box
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and have it set two variables $x and $y to a default value just in case the user doesn't change the selection, while if the user does change the selection, then both the variables $x and $y change accordingly for each option.

I'm not a javascript guru, so I don't know how to do this, if anyone can assist here I would appreciate it. I don't want to have two select inputs on this...

Thank you!

)O( Cloudrunner )O(

this needs to be done without reloading the page, and in a form name=variable system so that I can pass that information to the next script via the $_POST variable...

anyone?

Anyone...Truth is I'm Javascript stupid folks, and I have not a CLUE on how to get this to work properly....

I have this thus far, and while it works in a standalone presence, when I try to add it to other pages, it chokes and I get nothing...

This is the test page...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Like I said, when I run this it works fine, but when I try to go live with it on a real page with true html / xml constructs, it chokes, no errors, but the "amount" variable is not passed within the $_POST global as if the form wrote it which is what I need to do...

Any help is appreciated...

Thanks

)O( Cloudrunner )O(
NVM, got it figgered out.
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Farcaster's Event Attendance & vb Event Forums Integration Farcaster vBulletin 3.6 Add-ons 190 09 Nov 2011 17:38

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 19:53.

Layout Options | Width: Wide Color: