本例返回textarea 元素所属的表单类型:. <html> <head> <script> function displayResult() { alert(document.getElementById("myTextarea").type); }
確定! 回上一頁