Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
怎么复写 select2 的 matcher 方法呢?小弟实在是无力了....
teemoer
·
Jun 24, 2016
· 4238 views
This topic created in 3625 days ago, the information mentioned may be changed or developed.
如图: 连 alert(1) 都没弹出来呢;
matcher
Select2
alert
小弟
2 replies
•
2016-06-24 18:16:48 +08:00
1
HustLiu
Jun 24, 2016
1
没看过 select2 的源码,但直观感觉是不是应该 extend($.fn.select2.defaults, {...})或者 options 之类的。。而不是直接给$.fn.select 扩展
2
teemoer
OP
Jun 24, 2016
@
HustLiu
已经找到答案 如下
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1012 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 22:10
·
PVG 06:10
·
LAX 15:10
·
JFK 18:10
♥ Do have faith in what you're doing.
❯