Hi all, looking for a little bit of advice. I'm more of a PHP man myself but see that a lot of Javascript is relatively similar. I'm working on creating an online shop - basically I have a few products that have different sizes and for each size there is a different price. I have a dropdown list, for example:

Small (25.00)
Medium (30.00)
Large (35.00)

Now by default the first size is shown. If a user clicks on a different size, I want the price to change in the main product price div. How can this be done?

So basically want I want is: if there is an option that has brackets, then strip the brackets and show what's inside them in the main price DIV.

Any help is appreciated as always!