【MACRO】Google Apps Script 質問スレ【DRIVE】 (968レス)
【MACRO】Google Apps Script 質問スレ【DRIVE】 http://mevius.5ch.net/test/read.cgi/tech/1404007623/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
878: デフォルトの名無しさん [] 2023/01/21(土) 16:40:27.15 ID:/REhm/9K ボタンが押下されたら表が動的に表示されるようにしたいのですが、動的に作成された表の値がundefinedになります。 下記の通りに書いたのですが、何故undefinedになるのでしょうか? <script> function displayTable() { var htmlTable = google.script.run.getTable_Area(); document.getElementById("createdTable").innerHTML = htmlTable; } </script> function getTable_Area() { return '<table>' + '<thead>' + '<tr>' + '<th>Result</th>' + '</tr>' + '</thead>' + '<tbody>' + '<tr>' + '<td>Date</td>' + '<td><input value=<?= new Date();?>></input></td>' + '</tr>' + '<tr>' + '<td>Area</td>' + '<td><input value=<?= getArea();?>></input></td>' + '</tr>' + '</tbody>' + '</table>'; } http://mevius.5ch.net/test/read.cgi/tech/1404007623/878
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.039s