執行function 會跳出alert 視窗,並顯示輸入的值。 button type="reset" 在 form 標籤內,會自動執行清空 input 的功能。 CodePen https ...
確定! 回上一頁