在網頁中加入javascript 將結果掃入再用DOM去處理結果
此範例適用JSON解資料
function msg(content) {
document.getElementById('textarea1').value = content;
var json = JSON.parse(content);
document.getElementById('txt_id').value = json.user_id;
document.getElementById('txt_name').value = json.user_name;
}
1.調整UI
2.新增web api download功能