Show value from input in exporting html code to pdf using jspdf
<p>If my post duplicated, please give me references.
<br>because i failed finding post that appropriate from my problem.</p>

<p>I have simple form</p>

<pre><code>&lt;div class="form-control" id="input"&gt;
    &lt;label&gt;Name :&lt;/label&gt;
    &lt;input type="text" name="name" id="name" autocomplete="off" required&gt;
    &lt;br&gt;&lt;label&gt;Class :&lt;/label&gt;
    &lt;select name="myclass" id="myclass" value="--"&gt;
        &lt;option&gt;--&lt;/option&gt;
        &lt;option&gt;class 1&lt;/option&gt;
        &lt;option&gt;class 2&lt;/option&gt;
        &lt;option&gt;class 3&lt;/option&gt;
    &lt;/select&gt;
    &lt;br&gt;&lt;label&gt;Date :&lt;/label&gt;
    &lt;input type="text" name="date" id="date" autocomplete="off" required&gt;
&lt;/div&gt;

&lt;div&gt;
    &lt;button type="button" onclick="printInput()" &gt;Submit Data&lt;/button&gt;
&lt;/div&gt;
</code></pre>

<p>So, here I have make simple code to generate my form to pdf :</p>

<pre><code>&lt;script src="dist/jspdf.min.js"&gt;&lt;/script&gt;
&lt;script src="dist/jspdf.plugin.autotable.js"&gt;&lt;/script&gt;
&lt;script src="lib/jquery.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
    function printInput()
    {
        var doc = new jsPDF();
        doc.fromHTML($("#input").get(0), 10, 10, {'width': 180});
        doc.output('dataurlnewwindow');
    }
&lt;/script&gt;
</code></pre>

<p>But, value from <code>input</code> and <code>select</code> not show.</p>

<p>how to make value from them showing in pdf ?</p>