You should put values on your select options.
Ideally, these values assigned to each item would match up to an ID in a database and then you retrieve prices from the database on the next page. You wouldn't be able to put a price in the value because multiple things might be the same price.
<select name="color">
<option value="1">Blue</option>
<option value="2">White</option>
</select>
<select name="size">
<option value="1">8</option>
<option value="2">10</option>
</select>
Then when the form is submitted on the next page you'd get these IDs and query the database with these IDs for the total price.
$size_id = $_POST['size'];
$color_id = $_POST['color'];
When generating the page you could also put the price in the value along with the ID, so that it could still be parsed with javascript to update the item price on the page when they make a selection.
<select name="color">
<option value="1-10">Blue</option>
<option value="2-15">White</option>
</select>
<select name="size">
<option value="1-5">8</option>
<option value="2-6">10</option>
</select>
Then you could split by '-' in javascript and the second entry would be the price.
When the form is submitted, you could again split by '-' in php and the first entry would be the option id in the database so you know what options they chose with their product.
This is a simple explanation, but I hope it helps you a bit.