document.getElementById(" ").innerHTML='' 在IE核心有效,用火狐失效啊?求解答
JS里:document.getElementById("subcate").innerHTML='<selectname="category2"><optionvalu...
JS里:
document.getElementById("subcate").innerHTML='<select name="category2"><option value="1">测试1</option><option value="2">测试2</option>;
HTML里:
<tr>
<td class="tdlabel">类别</td>
<td><?php echo Q::control($oform['category']->_ui,'category',$oform['category']->attrs()); ?><span id="subcate"></span></td>
</tr> 展开
document.getElementById("subcate").innerHTML='<select name="category2"><option value="1">测试1</option><option value="2">测试2</option>;
HTML里:
<tr>
<td class="tdlabel">类别</td>
<td><?php echo Q::control($oform['category']->_ui,'category',$oform['category']->attrs()); ?><span id="subcate"></span></td>
</tr> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询