<a class="ot" onClick="toggle(img_z)">сылка</a> <br> <span id="img_z" style="display: none;"> <input type="file" name="uploadimg1" /><br> <input type="file" name="uploadimg2" /> </span>