How to generate 15 inputs with loop for and run just once?
<p>how to generate 15 inputs with loop for,
 every input with their own "id" and run just once? </p>

<pre><code>&lt;input type="button" onclick="generate()"&gt;
&lt;script&gt;
function generate(){
for(var i=0; i &lt; 15; i++) {
}
}
</code></pre>

<p></p>
