This doesn't work with IE7. Does anybody know a work around?
<select>
<optgroup label="Swedish Cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</optgroup>
<optgroup label="German Cars">
<option value="mercedes" onclick="alert(1);">Mercedes</option>
<option value="audi">Audi</option>
</optgroup>
</select>
When I pick Mercedes, i can see the alert box. It doesn't happen in IE.