jquery - display 3 different bootstrap info icon on change function menu -
i have odd bug trying display tooltip depending on selected in change function (also tooltip info different each). menu has 3 possible choices. seems show/hiding tooltip not work correctly resorted using css opacity property. works 1 , not other. 1 knows why complicated on on change function? , how make work correctly. trying show matching tooltip each option of menu. $('#menu1').change(function() { if ($(this).val() == 'newhire') { // or this.value == '1' $("#iconnh").css({ opacity: 1.5 }); $("#iconup").css({ ...