How to send data in a sub-page BootstrapDialog?

0

Personal in the example below I show a form inside the Dialog, this form in turn needs to receive some parameters:

BootstrapDialog.show({
        message: function(dialog) {
            var $message = $('<div></div>');
            var pageToLoad = dialog.getData('pageToLoad');
            $message.load(pageToLoad);

            return $message;
        },
        data: {
            'pageToLoad': 'remote.php'
        }
    });

How to send parameters by POST method to remote.php page?

I tried to add date to the data array, but to no avail

I can not use GET has to be POST

    
asked by anonymous 19.01.2018 / 17:12

0 answers