Text box value issue
<p>I insert a text box into my page with jQuery <code>.html("&lt;input type="text&gt;")</code></p>

<p>Once I click a button, I loop through <code>($("input[type=text]).each)</code> and then need to get the value of each text box. 
When I try to get that <code>val()</code> of that text box it returns empty string, although I have typed something in there</p>

<pre><code>console.log($(v).val()) = "empty string"
</code></pre>

<p>EDIT</p>

<pre><code>$("input[type=text]").each(function(k, v) {
                console.log($(v).val());
            });
</code></pre>
