取得元素的內容或輸入欄位的數值是開發前端程式時的重要工作之一,jQuery提供了html()、text()可取得innerHTML及innerText內容,html( val )、text( val )則可以設定。
確定! 回上一頁