$.extend(
$.fn.combobox.defaults,{
onShowPanel:function(e){
var panelOptions=$(this).combobox("panel").panel("options");
console.log(panelOptions,panelOptions.top)
}
}
)
show the panel the first time, console output: top value exists in options object , panelOptions.top is null .
after the panel shown the second time ,panelOptions.top is the same with top value in options object.
why???