How do I update HTML from DOM?

  • Thread starter Thread starter Sleeping Troll
  • Start date Start date
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?
 
Back
Top