initProductSelect
jquery ui の multiselectを呼び出す
$handler.multiselect({...})
しかし、2 番目に ``initProductSelect , without destroy, but if I call handler.multiselect('destroy').multiselect({...}) the very first time I call
initProductSelect` を呼び出すと、いくつかの問題が見つかりました。まだ初期化されていないため、エラーが発生します。doc http://www.erichynds.com/blog/jquery-ui-multiselect-widgetを検索しますが、見つかりません「isInit」のようなメソッド。
変数の戻り値をvar $multiselect=$handler.multiselect({...})
どこかグローバルに保存してチェックする必要がありif($multiselect==null)
ますか?