문제

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:

  • Applied anchor tag in child page, but it opens the new page in parent page
  • Applied $('.popup_content').bPopup({...}); in child page, it opens new page along with the previous page, both page are there in two rows.
  • Put 4 divs for popup in parent page, and called bPopup() for seperate popup divs in child pages. It works well, but keeps open the overlay of the old page.
도움이 되었습니까?

해결책

Try this function:

function fnPopupClose1() {

    var popup = $('.popup1').bPopup();
    popup.dispose = true;
    popup.close();
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top