标签: jquery
如何在serializeArray()内input和textarea却没有.panel的情况?
serializeArray()
input
textarea
.panel
form
$(document).on("click", ".sec-form-btn", function(e) { var element = $(this); var formData = element.parents('.panel :input').serializeArray(); });