var sub1 = document.getElementById("input1") ;. sub1 doesn't contain the value of 'input1', its a DOM object so when you do.
確定! 回上一頁