Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to open select dropdown by button?

  • 1 svar
  • 2 har dette problemet
  • 3 views
  • Siste svar av Paul

more options

How to open select dropdown by button?

$('button').on('click', function() {

  $('select').trigger('click');

}); My code: http://jsfiddle.net/yqs90jdw/

How to open select dropdown by button? $('button').on('click', function() { $('select').trigger('click'); }); My code: http://jsfiddle.net/yqs90jdw/

All Replies (1)

more options

Hi

Thank you for your question, but I think this is more of a web development query that a question about Firefox.

I recommend you ask in Stack Overflow and one of the experts there should be able to help you.