Home>

We are creating a modal window in jQuery dialog.
So when the modal is opened, the value of the caller's hidden is
I would like to obtain and display it.
The modal side is calling PHP.
Can you tell me how to get the caller value?

var dlg = $('# edit'). dialog ({
    title: "hoge",
    resizable: true,
    autoOpen: false,
    modal: true,
    hide: 'fade',
    width: 300,
    height: 500
});
$('. touch'). on ({
    'touchstart': function () {
        this.isTouch = true;
    },
    'touchmove': function () {
        this.isTouch = false;
    },
    'touchend': function () {
        if (this.isTouch == true) {
            dlg.load ('hoge.php', function () {
                dlg.dialog ('open');
            });
        }
    }
});
  • Answer # 1

    modal.html

    modal

    mypage.html

  • Answer # 2

    Attached to the specified address with? .
    I'm sorry for the noise.