jpicker

I have multiple jPickers on same page ,how do i open single jPicker dialog at a time?

风流意气都作罢 提交于 2019-12-11 03:18:54
问题 Using multiple jPickers on same page, my problem is when i'm clicking on all three one by one it keeps open. Is there any event or method in jPicker through i can open single dialog at a time? I have checked on jPicker's site they have same problem all dialogs keeps open. snippet of js code , $(function() { $('#id1').jPicker(); }); $(function() { $('#id2').jPicker(); }); $(function() { $('#id3').jPicker(); }); 回答1: Attach an event handler to an elem such that it closes all the open jPicker