title: How to prepare encoded POST data on javascript?
body: <p>I need to send data by POST method.</p>
  
  <p>For example, I have the string "bla&amp;bla&amp;bla". I tried using <code>encodeURI</code> and got "bla&amp;bla&amp;bla" as the result. I need to replace "&amp;" with something correct for this example.</p>
  
  <p>What kind of method should I call to prepare correct POST data?</p>
  
  <p><strong>UPDATED:</strong></p>
  
  <p>I need to convert only charachters which may broke POST request. Only them.</p>