I'm trying for some time to make events work, but they do not work, I'm trying to look for any reaction with alert or console.log
but nothing to do, no reaction. I tried to change the selectors, same result. I also try to introduce them with $(document).ready
or $("#mypage").("pagecreate",
...
Still trying with jsfiddle, it works perfectly but on my file from the browser, nothing.
I have only swipe that works.
Scrollstop and navigate does not work.
$('#neww').on("scrollstop", function() {
if($(window).scrollTop() + $(window).height() == $(document).height()) {
recept2();
}
Looking for a way to dynamically add more lists to the bottom of jQuery Mobile listview
$("#mypanel").on("navigate", function (event, data) {
var direction = data.state.direction;
if (direction == 'back') {
$("#mypanel").panel("close");
console.log(direction);
}
});