title: Send SVG document from client to PHP using AJAX
body: <p>I need to send some SVG document from DOM to PHP script. I pull SVG from DOM like this:</p>
  
  <pre><code>backText = $('#svg').getSVGDocument;
  </code></pre>
  
  <p>And I will send it in JSON like this:</p>
  
  <pre><code>var orderData = {
              "ordererEmail": userData.orderemail,
              "ordererName": userData.ordername,
              "ordererPhone": userData.orderphone,
              "device": phoneModel,
              "price": orderPrice,
              "back": bgColor,
              "backText": backText
           }
        //...
     $.ajax({
                  url: 'order.php',
                  type: 'POST',
                  data: { dataBunch: orderData },
         //another methods
     });
  </code></pre>
  
  <p>Is it possible? Or I should first convert SVG document to e.g. PNG? Or something else?</p>