คำถามติดแท็ก submit-button

23
ปุ่มส่งหลายปุ่มในรูปแบบ HTML
สมมติว่าคุณสร้างตัวช่วยสร้างในรูปแบบ HTML ปุ่มเดียวย้อนกลับไปและอีกหนึ่งปุ่มไปข้างหน้า เนื่องจากปุ่มย้อนกลับปรากฏขึ้นเป็นครั้งแรกในมาร์กอัปเมื่อคุณกดEnterมันจะใช้ปุ่มนั้นเพื่อส่งแบบฟอร์ม ตัวอย่าง: <form> <!-- Put your cursor in this field and press Enter --> <input type="text" name="field1" /> <!-- This is the button that will submit --> <input type="submit" name="prev" value="Previous Page" /> <!-- But this is the button that I WANT to submit --> <input type="submit" …
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.