This jQuery snippet will get you started:
$('#list').change(function() {
if ($(this).val() === '2') {
// Do something for option "b"
}
});
This jQuery snippet will get you started:
$('#list').change(function() {
if ($(this).val() === '2') {
// Do something for option "b"
}
});