S
Sleeping Troll
Guest
I am using javascript to change the values for inputs in a form, however when the form is submitted the values are empty...
I know this is because the getElementById("someelement").value statement is updating the DOM but not the HTML, how can I update the HTML so that it matches the DOM?
I know this is because the getElementById("someelement").value statement is updating the DOM but not the HTML, how can I update the HTML so that it matches the DOM?