<script>
var i=6;
function generateRow1() {
if(i>35)
{
alert("no more files are upload");
}
else{
var d=document.getElementById("div1");
d.innerHTML+="<p><input type='file' name='foods"+i+"' size='6'>";
i++;
return false;
}
return true;
}
</script>
<input type="file" checks="min=1" size="6" id="fld_photo" class="hide" name="fld_photo">
<div id="div"></div>
No comments:
Post a Comment