PDA

View Full Version : price calculator using checkbox id


sasha85
11-23-2007, 12:22 AM
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)

sasha85
11-23-2007, 04:41 AM
the problem was that i didn't see that instead of .id there was .value