Hi,
i am having an add to basket problem.Some products have options like color/size. I draw the select box for color/size and an input for qty.
<select name="productOption[1234][color]">
<select name="productOption[1234][size]">
<input type="text" name="productOption[1234][qty]">
So option is an array that holds the values for each product.In the abov example are the options of product with id=1234.
I tried
var productOptions=$("name^='productOption["+productID+"]'").val();
expecting to get the array of options for the given productID but its not working. The options are dynamically some products can have extra options
Can anyone help me with the selector so retrieve the array of values for given productID and pass them to serverSide.
Thanks