Hi folks,
I'm working with a customized version of the Product Attributes template, and I'm getting some weird behavior with dropdown menus. My template is generating this HTML:
(Sorry for the bad layout; there's something wrong with the forum today.) -- but on my screen, the "Scissors" element is not pre-selected. The menu always comes up with the first option selected, regardless of what the value is. I've seen this before from time to time. I assume that there's some Javascript involved, but I don't know where to find it or how to override it, other than some brute-force JS at the bottom of the page. I feel like there should be an easier way. Does anyone know how to fix this?
Thanks --
I'm working with a customized version of the Product Attributes template, and I'm getting some weird behavior with dropdown menus. My template is generating this HTML:
Code:
<select name="Product_Attributes[5]:value"> <option value="r">Rock</option> <option value="p">Paper</option> <option SELECTED value="s">Scissors</option> </select>
Thanks --
Comment