getElementById ("iAge");//完整版,產生一個Object物件. //var theAgeVal = theAgeObj.value;//可以使用一個value方法取得輸入的值.
確定! 回上一頁