So guys, I have this structure:
path: '/evento/:id',
url: './pages/evento.html',
and have this as function
pageAfterIn: function (e, page) {
var url = ':id';
app.request.get('http://prescricoesodontologicas-ga.umbler.net/ravers/test3.php?eventoid=###', function(data){
$("#content-evento").html(data);
});
Where ### I need to insert the :id to request a html script directly from my server.
How to pass the route parameters to there??