$(function() { $("body").bind('swiperight', function() { $.mobile.changePage("#foo", {transition: "slide", reverse:true},false); }).bind('swipeleft', function() { $.mobile.changePage("#bar", { transition: "slide"},true); }); }); $.mobile.changePage("save.html", {type:"post", data:$("form#dataFrm").serialize(), transition:"slide"} ); //javascript/7299