{"comment":{"created_at":"2011-10-21T09:45:05Z","body":"Wow, I spend months working on this problem off and on, and an hour after I post the bug I find a solution.\r\nTo fix/work around my issue, I removed the spaces from all my data-url's. ('SubPage' instead of 'Sub Page'). I don't know why it works in the browser but not on mobile devices, but mobile devices don't seem to like the space in the internal link. I don't know if this is intended behaviour, a jquery-mobile problem or a mobile browser problem. I can provide additional info if needed, but I won't shed a tear if this gets shuffled to the back of the queue or marked closed.","updated_at":"2011-10-21T09:45:05Z","url":"https://api.github.com/repos/jquery/jquery-mobile/issues/comments/2479460","id":2479460,"user":{"avatar_url":"https://secure.gravatar.com/avatar/8739bfcf034305eda1c4941bb6ae0d89?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8739bfcf034305eda1c4941bb6ae0d89","url":"https://api.github.com/users/CoatedMoose","id":713361,"login":"CoatedMoose"}},"action":"created","issue":{"number":2793,"created_at":"2011-10-21T08:59:12Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When following links in a multipage document, the back button only ever takes me to the first page.\r\n\r\nFor example:\r\nmultipage document:\r\npage (data-url=\"Landing Page\")\r\nsubpage1 (data-url=\"Sub Page 1\"\r\nsubpage2 (data-url=\"Sub Page 2\"\r\nsubpage3 (data-url=\"Sub Page 3\"\r\n\r\nland on 'page'\r\nlink to subpage1\r\nlink to subpage2\r\nlink to subpage3\r\ngo back - this step takes you all the way back to 'page', not subpage2, it does the reverse transition, but appears to request the page again. Linking can be done programatically, or by clicking an anchor (href=\"#Sub Page 1\", or $.mobile.changePage(\"#Sub Page 1\") ). Back can be done programatically, browser button, data-rel=back, or hardware button.\r\n\r\nThis occurs on the iphone simulator and iphone (4.3) and on android 2.2 simulator and device and on android 3.[0-2] device.  This occurs in the browser, and in a \"WebView\" with or without phonegap. Issue does not occur in Chromium 14 and firefox 6 or 7.","comments":1,"title":"Back button issue on mobile platforms","updated_at":"2011-10-21T09:45:05Z","url":"https://api.github.com/repos/jquery/jquery-mobile/issues/2793","id":2013536,"assignee":null,"milestone":null,"closed_at":"2011-10-21T09:45:05Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/8739bfcf034305eda1c4941bb6ae0d89?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8739bfcf034305eda1c4941bb6ae0d89","url":"https://api.github.com/users/CoatedMoose","id":713361,"login":"CoatedMoose"},"html_url":"https://github.com/jquery/jquery-mobile/issues/2793","labels":[],"state":"closed"},"legacy":{"issue_id":2013536,"comment_id":2479460}}