Can you create nested popups with JQueryMobile

后端 未结 1 398
小蘑菇
小蘑菇 2021-01-27 04:14

I am new to JQueryMobile... I am trying get this sample code to open another popup from within an open popup using JQueryMobile and I am failing. The first link works, but the o

1条回答
  •  旧巷少年郎
    2021-01-27 04:47

    You can open a popup within a popup is possible is Jquery mobile. Check the below one to get popup within a popup.

     Open poup 1
    
    
    Close

    popup1

    Open popup 2

    I'm A popup2!

    The dialog box is different from a normal page.

    function closePopup(){ $("#pagetwo").popup("close"); $("#expensePopup").popup("open"); }

    See this fiddle Demo

    0 讨论(0)
提交回复
热议问题