Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Arquivado

How to open select dropdown by button?

tanuj.vaja

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)

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.