The requirement is an HTML questionnaire that, when completed, sends the questionnaire page (including the user's answers) to the leader in its entirety.
There's a problem.
Fill in with the method of jquery assignment, such as text text, Textrear with the Val () method, in obtaining the entire page $ ("html") [0].outerhtml, the value of each HTML tag is empty;
If it is a radio or checkbox tag, the selected tag will appear with no checked attribute value resulting in $ ("html") [0].outerhtml the obtained value is not included in the answer.
Workaround:
Radio, CheckBox: When selected, add the property $ (this). attr ("Checked", "checked");
Text: Add property $ (this). attr ("Value", $ (this). VLA ());
TextArea: Add property $ (this). HTML ($ (this). Val ());
Since this questionnaire contains only those labels, the values provide these solutions;
Similarly, other controls have corresponding property value assignments.
The entire HTML content is sent by mail (take out the user input information that the tag contains)