FilipBartos / heapbox

jQuery <selectbox> replacement

Home Page:https://is.gd/1GdRnV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update heapbox when options have changed

alexjg opened this issue · comments

Hey, thanks for your work on this. Is there any way to update the heapbox when the underlying options have changed?

Thanks

Hi alex,

have you tried $("...").heapbox("update")? See www.bartos.me/heapbox examples for more info.

Filip

Specifically what I'm doing is adding options elements programmatically to the select and then calling $(element).heapbox("update"). It doesn't seem to be working, I'll try and put together a jsfiddle.

Ah, my bad, it;s woking fine, apologies for the noise.

Super, thanks for information :)