I got load content via eModal and i got url with id`s example: #index.php?id=1&idt=2 How can in ajax load content of modal use this parameters id and idt ?
<script>
$(document).ready(function () {/* activate scroll spy menu */
var iconPrefix = '.fa-';
$(iconPrefix + 'mixcloud').click(ajaxDemo);
///////////////////* Implementation *///////////////////
// Demos
function ajaxDemo() {
var title = 'Znaczniki H1';
var params = {
buttons: [
{ text: 'Close', close: true, style: 'danger' },
{ text: 'New content', close: false, style: 'success', click: ajaxDemo }
],
size: eModal.size.lg,
title: title,
url: 'views/h1.php'
};
return eModal
.ajax(params)
.then(function () { alert('Ajax Request complete!!!!', title) });
}
});
</script>