Hi everybody, how are you? I have to save the state of a form in a var before submitting it with the whole html, but if I alert the var, I get the original html without the updated input fields.
Example: I have <div> <input type='text' name='test'/> </div> and I fill that field with "hahahah", on $("div").html() i get "<input type='text' name='test'/>" and not "<input type='text' name='test' value='hahahah'/>". Can someone help me? Tank you!