[[oktatas:web:jquery|< jQuery]] ====== jQuery - Űrlap sorosítása ====== * **Szerző:** Sallai András * Copyright (c) Sallai András, 2022 * Licenc: [[https://creativecommons.org/licenses/by-sa/4.0/|CC Attribution-Share Alike 4.0 International]] * Web: https://szit.hu ===== Űrlap =====




==== A form elem azonsítója ==== $('#signupForm').on('submit', event =>{ let data = $('#signupForm').serializeArray(); console.table(data); event.preventDefault(); }); ===== Űrlap fieldset elemmel =====




==== jQuery ==== $('#signupForm').on('submit', event =>{ let data = $('#basedata').serializeArray(); console.log('megy'); console.table(data); event.preventDefault(); });