jquery-selectBox icon indicating copy to clipboard operation
jquery-selectBox copied to clipboard

Dynamically adding options

Open dutchman71 opened this issue 9 years ago • 3 comments

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?

dutchman71 avatar May 09 '15 23:05 dutchman71

Same here!

abnt713 avatar Sep 11 '15 11:09 abnt713

How resolve this problem?

skylark26 avatar Nov 03 '15 06:11 skylark26

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

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

umair-khanzada avatar Jun 25 '19 13:06 umair-khanzada