取得元素後,我們可以再使用value 或innerHTML 屬性來存取其內容,例如:. <!DOCTYPE html> <html> <head> </head> <body> <textarea id="foo">example</textarea> ...
確定! 回上一頁