JQuery Mobile: How to re-render select box?

前端 未结 2 1163
感情败类
感情败类 2021-01-05 11:46

First time, When I load page, my select box is empty:


Then I ma

2条回答
  •  心在旅途
    2021-01-05 12:14

    Don't ask me why, but this only worked for me until I used double quotes ->"<- for all strings involved in this instruction:

    $("#secondaryTitle").selectmenu("refresh", true);//working

    I had it like this:

    $('#secondaryTitle').selectmenu('refresh', true);//not working

    and it not worked :S :S :S

提交回复
热议问题