私は、彼が赤ちゃんのステップを使用して説明しているこの記事に従おうとしています
このセクションでは、ページから別のページにジャンプする方法を説明しようとしました。4 レベルを実行できるかどうかを確認しようとしていますが、方法がわかりません。それは純粋なJSの質問かもしれません。
> App.onLaunch = function(options) {
> alert("Hello!", function() {
> var helloDocument = getDocumentContents("http://localhost:8000/hello.tvml", function(xhr)
> {
> navigationDocument.dismissModal();
> navigationDocument.pushDocument(xhr.responseXML);
> });
> }); }
callback を行う方法を教えてくれる人はいますか?
> App.onLaunch = function(options) {
> alert("Hello!", function() {
> var helloDocument = getDocumentContents("http://localhost:8000/hello.tvml", function(xhr)
> {
> navigationDocument.dismissModal();
> navigationDocument.pushDocument(xhr.responseXML);
> });
> }); }