twister
Howdy
Can anyone help me? I know PHP but not much javascript but i need some radio button values to change on the fly but don't know how. Here is how it works.
If the user inputs a number between 0-49 then radio button a is .50 radio button b is .45 and radio button c is .42
If the user inputs a number between 50-99 then radio button a is .40 radio button b is .38 and radio button c is .33
If the user inputs a number 100+ then radio button a is .38 radio button b is .35 and radio button c is .30
That's the general idea. But how i do that? I need to start with an if statement and then re-assign the radio buttons after that but i'm stuck. Can anyone help?
Thanks
If the user inputs a number between 0-49 then radio button a is .50 radio button b is .45 and radio button c is .42
If the user inputs a number between 50-99 then radio button a is .40 radio button b is .38 and radio button c is .33
If the user inputs a number 100+ then radio button a is .38 radio button b is .35 and radio button c is .30
That's the general idea. But how i do that? I need to start with an if statement and then re-assign the radio buttons after that but i'm stuck. Can anyone help?
Thanks