Thanks for your help. That worked with the JS errors.
However, there is still an issue with the color not passing into my database. I checked confirm.php and the 'eCart Store Datails in Database (orderdetails)' server behavior and I don't see the problem.