Jquery-UI Dialog - on the fly without DIV

前端 未结 5 581
情话喂你
情话喂你 2020-12-15 16:12

I have what I suspect to be a simple question and after search I suspect the answer to my question to be no, but to double check...

Is it possible to use the Jquery

5条回答
  •  粉色の甜心
    2020-12-15 16:53

    You can create a helper method which abstracted away the creation and configuration of the div and then called .dialog(). That would at least remove the need to duplicate code and/or create multiple divs.

提交回复
热议问题