title: send HTML content in post request using javascript
body: <p>I need to send a div element's inner HTML to server through post request.</p>
  
  <p>What I tired using javascript is,
  Created a hidden input element and tried to assign the div's inner HTML in it and submitted it to the server. Since the inner HTML has single, double quotes it is not properly assigned to the value of input element. </p>
  
  <p>Kindly suggest best solutions.</p>