javascriptjquerybpopup

JQuery-bPopup Remove the old page from the popup and load a new page in same


In JQuery bPopup, how can i remove the old page from the popup and load a new page in same popup without closing it?

I have tried following 3 things, but still no success:


Solution

  • Try this function:

    function fnPopupClose1() {
    
        var popup = $('.popup1').bPopup();
        popup.dispose = true;
        popup.close();
    }