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...
});
posted @ 2012-03-23 18:01  KID  阅读(560)  评论(0编辑  收藏  举报