How to add elements to a form before submitting? WITHOUT AJAX

Is there a way to add data to a form before submitting it?

or add this form to a formdata and submit the formdata (without .$post, .$ajax or
XMLHttpRequest). the formdata can be submitted as a normal form.

28 thoughts on “How to add elements to a form before submitting? WITHOUT AJAX”

Leave a Comment