jQuery Chosen plugin without search field

前端 未结 12 871
时光说笑
时光说笑 2021-02-05 02:45

Not sure if this has been covered somewhere, but I couldn\'t find it in the documentation, and was wondering if it\'d be possible to not include the search input box with the jQ

12条回答
  •  走了就别回头了
    2021-02-05 03:23

    Well I tried with the documentation as well and no luck, so I finally fixed to this

    $('.chzn-search').hide();

    I do the above after I call chosen. Hope this helps

提交回复
热议问题