Simple Calculation Query

Discussion in 'JavaScript' started by dai.hop, Jan 17, 2007.

  1. #1
    Hi All,

    I have a webpage with a group of radio buttons and a text box. when a radio button is clicked, a value is put into the text box.

    What I would like to be able to do is have another two radio buttons to set the value for delivery. If 'standard delivery' is checked, then the price doesn't change - however if 'collect at store' is checked, I would like the value in the text box (the price of the goods) to be multiplied by 0.88 if their value is below £100 (this takes off the 12% delivery charge on orders under £100).

    The page I'm referring to can be found here:

    http://www.outlook-group.com/outlook_images/gallery/your_image.php?id=23

    Any help would be most appreciated! :)

    Many Thanks,

    dai.hop
     
    dai.hop, Jan 17, 2007 IP