How to open select dropdown by button?
$(\'button\').on(\'click\', function() { $(\'select\').trigger(\'click\'); });
My code: http://js
I think this will help you..
Trigger documentation
$('button').on('click', function() { $('select').trigger('click'); }); $('select').click(function(){ alert($(this).val()); });
Fiddle Here