/// <summary> /// Programmatically change from one page to another. /// This method is used internally for the page loading and transitioning that occurs as a result of clicking a link or submitting a form, when those features are enabled. /// </summary> /// <param name="to"> /// Absolute or relative URL. ("about/us.html") /// </param> /// <param name="options"> /// </param> public void changePage(JsString to, ChangePageOptions options) { }
/// <summary> /// Programmatically change from one page to another. /// This method is used internally for the page loading and transitioning that occurs as a result of clicking a link or submitting a form, when those features are enabled. /// </summary> /// <param name="to">jQuery collection object. ($("#about"))</param> /// <param name="options"></param> /// <example> /// transition to the "about us" page with a slideup transition /// <code> /// $.mobile.changePage( "about/us.html", { transition: "slideup"} ); /// </code> /// transition to the "search results" page, using data from a form with an ID of "search" /// <code> ///$.mobile.changePage( "searchresults.php", {type: "post", data: $("form#search").serialize()}); ///</code> ///transition to the "confirm" page with a "pop" transition without tracking it in history ///<code> ///$.mobile.changePage( "../alerts/confirm.html", {transition: "pop",reverse: false,changeHash: false}); ///</code> /// </example> public void changePage(object to, ChangePageOptions options) { }