jquerymobile 页面间URL传值
$("#artdetailpage").live("pageshow", function(e) {
var query = $(this).data("url").split("?")[1];;
query = query.replace("id=","");
//query is now an ID, do stuff with it...
});
var query = $(this).data("url").split("?")[1];;
query = query.replace("id=","");
//query is now an ID, do stuff with it...
});