This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

How to open select dropdown by button?

  • 1 antwoord
  • 2 hierdie probleem
  • 3 views
  • Laaste antwoord deur 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.