简体   繁体   中英

unable to select from drop-down with firefox (works in Chrome)

What I want to do is be able to select from the drop-down menu without the accordion changing. This works in Chrome. However, when I was trying it in Firefox, it no longer worked.

Here is my jsfiddle.

Why does this not work in Firefox?

I believe that it is this code that is causing the problem (dropdowns without the selectOne class work fine):

$(function () {
  $('.selectOne').click(function(){
    return false;
  });
});

Try to upload the linked libraries. Have you linked the plugin. Accordian is a jQuery Plugin, not just jQuery.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM