當你在form中使用button 時若沒有設定type="button" 就會觸發該表單的submit事件。 ... <form action="add.php" method="get">. <input type="text" name="key" />.
確定! 回上一頁