minor: function dropdown event method function.onclick() change to function.onchange() so that it will fire even  selecting through keyboard.