アットウィキロゴ

c666p

<!DOCTYPE html>
<html>
<head>
</head>
<body onload="sample()">
<p id="memo"></p>
<p id="memo2"></p>
<?!= HtmlService.createHtmlOutputFromFile('sample').getContent(); ?>
</body>
</html>
 
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
 
var x1,x2;
var nn1,nn2;
 
function sample(){
 
 
google.script.run
       .withSuccessHandler(function(q) {
           var p1=q;
 
 $("#memo").html(p1);
 
          })
       .withFailureHandler(function(msg) {})
       .step();
 
 
 
 
}
 
 
</script>
 
 
function doGet(e) {
  var template = HtmlService.createTemplateFromFile('index');
 
 
  return template.evaluate()
      .setTitle('練習')
      .setSandboxMode(HtmlService.SandboxMode.IFRAME);
}
 
function step() {
 
 
  var doc = DocumentApp.openById("1RB_5I0WCjfepLfPf3R34m_hDpODJ-bR5K7FG5u7PDJw");
 
 
  var f=doc.getText();
 
  var q=f;
 
 
 return q;
 
}
最終更新:2016年03月17日 04:18