Dynamic controlgroup and checkboxes unstyled

后端 未结 6 1260
走了就别回头了
走了就别回头了 2020-11-27 22:03

So I\'m trying to load dynamic content straight into my checkbox container (group_checkboxes)

6条回答
  •  离开以前
    2020-11-27 22:56

    First try their own static demo code:

    Choose as many snacks as you'd like:

    They are using just one fieldset as I mentioned in comments.
    If this works, then adjust your script to generate the same markup dynamically and then refresh them

    $("input[type='checkbox']").checkboxradio("refresh");
    

    If this will work with their code, you will know that you have error in markup. If not, there is an error with that refresh function. (I know it's not final solution but you have to do a bit of debugging sometimes :)

    Edit:
    Found similar problems, solved by using Page()
    JQM FAQ
    SO Question

提交回复
热议问题