0
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 the remote.php page?
I tried to add date to the data array, but to no avail
I can’t use GET has to be POST
Do you want to post modal data or do form Parent Submit? Your question left me somewhat confused.
– Leandro Angelo
Note that in the modal window I open the content of the remote.php page, when opening the page remote.php I need to receive some parameters in it, these parameters have to be by post method, as it is loaded via "div". load can’t send these wall meters, I tested via get, but it does not accept space in sending, I don’t know why.
– Marcelo