Hello. I have a little problem. Ask for help. I use v2. Get data from MySQL and output to the html page:
app.request.post('php/dates.php', { dates:'2018/03/08' }, function (data) {
$('#t_request').html(data);
});
}
Form a table of data in the file dates.php:
$res=’… html code of table …’
Want to handle click event on a row. Use this code:
app.on('pageInit', function (page) {
if (page.name === 'test') {
$('.numeric-cell').on ('click', function () {
// ... some function .. ;
});
}
});
Is not work. Help, please