Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically adding options #168

Open
dutchman71 opened this issue May 9, 2015 · 3 comments
Open

Dynamically adding options #168

dutchman71 opened this issue May 9, 2015 · 3 comments

Comments

@dutchman71
Copy link

Hi,

first of all great job on this jquery plugin. Love it!
I've been trying to dynamically add options to the select but without success. I tried refresh and destroy/recreate but without success.

Can you recommend a good way of doing this?

@abnt713
Copy link

abnt713 commented Sep 11, 2015

Same here!

@skylark26
Copy link

How resolve this problem?

@umair-khanzada
Copy link

After spending an hour, finally, I have resolved the issue by calling the refresh method in the request success.

$('#id').selectBox('refresh');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants