I am trying to submit my form data via a POST AJAX request and cannot find any solutions.
I can't just get the values by ID or name etc because it is dynamically created depending on data from a database.
I have tried using the childNodes and think this may be a solution but cannot figure it out. Do I need to use JQuery? Can it be done with just JS as I'm a beginner.
Any ideas would be appreciated, cheers.