1
这里的具体发生难度网页访问和填充div元素
<div id="upload" class="panel">
<div style="width:720px" align="left">
<table border="0"><tr>
<td>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
</td>
<td>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
</td>
<td>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
<div><input name="attachment[]" type="file"></div>
</td>
</tr></table>
</div>
我填充像
page.uploadFile('input[type=file]', 'test2.png');
文件类型输入这总是填充第一个div输入附件的文件类型的HTML部分。
我怎样才能改变这种填充第一/第二...到第十五个div元素文件类型?