title: Generate pdf with pdfmake in iframe tag
body: <p>I have this JS and i would do like to generate pdf in a iframe tag using this js (made with pdfmake)</p>
  
  <pre><code>  function start(){
    var docDefinition = {
    content: [
      {
        table: {
         multiple pages
  
          headerRows: 1,
          widths: [ '*', 'auto', 100, '*' ],
  
          body: [
            [ 'First', 'Second', 'Third', 'The last one' ],
            [ 'Value 1', 'Value 2', 'Value 3', 'Value 4' ],
            [ { text: 'Bold value', bold: true }, 'Val 2', 'Val 3', 'Val 4' ]
          ]
        }
      }
    ]
    };
  
     pdfMake.createPdf(docDefinition).open();
  
  }
  </code></pre>
  
  <p>Show the pdf in this iframe:</p>
  
  <pre><code>  &lt;frameset cols="25%,*,25%"&gt;
        &lt;frame src=""&gt;
    &lt;/frameset&gt;
  </code></pre>
  
  <p>When i click in this button:</p>
  
  <pre><code>&lt;button type="submit" name="save" class="btn btn-default" onclick="start();"&gt;Savw&lt;/button&gt;
  </code></pre>
  
  <p>thanks.</p>