2012-08-15 57 views

回答

2

my answer to this question

的基本技術,複製在這裏:

function doGet(requestInfo) { 
    var url = ScriptApp.getService().getUrl(); 
    if (requestInfo.parameter && requestInfo.parameter['page'] == '2') { 
    return HtmlService.createHtmlOutput(
     "This is Page 2. <a href='" + url + "?page=1'>Page 1</a>"); 
    } 
    return HtmlService.createHtmlOutput(
    "This is Page 1. <a href='" + url + "?page=2'>Page 2</a>"); 
} 
+0

非常感謝。你的解決方案完美運作 – user1599914 2012-08-15 08:48:51

相關問題