jquery/jquery-mobile — Issue #2833: changePage will not update hash if passed an object
Author: offsky
Created: 2011-10-25 15:41:02+00:00
State: open

According to the documentation, $.mobile.changePage can be passed a string or an object. If it is passed an object, the URL hash is not updated, even if the changeHash option is set to true.

$.mobile.changePage($('#element_id'), { changeHash: true}); //does not update url

$.mobile.changePage('#element_id', { changeHash: true}); //does update url