本文介紹了沒有搜索字段的jQuery選擇插件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
不確定這是否已經(jīng)在某處被覆蓋,但我在文檔中找不到它,并且想知道是否可以在 jQuery 選擇的插件中不包含搜索輸入框(用于樣式選擇輸入).具體來說,我想使用沒有它的標準選擇一個.
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 jQuery chosen plugin (used to style select inputs). Specifically I'd like to use the standard select one without it.
http://harvesthq.github.com/chosen/
推薦答案
好吧,我也嘗試了文檔,但沒有運氣,所以我終于解決了這個問題
Well I tried with the documentation as well and no luck, so I finally fixed to this
$('.chzn-search').hide();
$('.chzn-search').hide();
我在調(diào)用選擇后執(zhí)行上述操作.希望這會有所幫助
I do the above after I call chosen. Hope this helps
這篇關于沒有搜索字段的jQuery選擇插件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!