Change text based on select menu option
Hi all, I can't believe I can't find what I am looking for, so it would seem I am not using the correct search terms because I don't actually know what it's called! I'm hoping somebody can point me in the right direction.
I want a select menu with options that will be database driven... easy enough... but when the option is changed, I want it to update a price elsewhere on the page.
The options in the select menu will be text only pertaining to rental periods. E.g.:
1 year
2 years
3 years
And depending upon which is selected the price elsewhere changes to reflect that it's cheaper per month over three years than it is for one year. Does that make sense?
So, what should I be looking for? Have you got any links that or tuts that I could learn from? I assume it's jQuery based, but I looked at WC3 jQuery section and didn't find anything that related to what I am trying to achieve, yet this kind of thing is so common place! I've googled but am getting nothing.
Thanks in advance.
