Results 1 to 2 of 2

Thread: price calculator with checkbox id

  1. #1
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation price calculator with checkbox id

    this script as you see sumup the total price of the packages (left)
    and add to this price the pay method additional cost(right)

    now, the value of the checkboxes is the price of each item
    the name of each box is "checpack" and there is no id
    and that is exactly my problem...i want to move all the prices to the "id" and that the script will colculate the prices from the id and will left the value for the names of those packages(on submit i will post the names of the packages and not their prices)

    <input type="radio" name="checpack" id="here will be the values" onClick="calc(this.form)"
    value="rs("here will be the names")">

    can someone please help me?
    Last edited by hantz; 11-23-2007 at 04:43 AM.

  2. #2
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default nevermind

    the problem was that i didn't see that instead of .id there was .value

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •