<tr>
<td width="20%" nowrap="nowrap" class="td_title">手机号码:</td>
<td width="80%" id="phone" align="left">
<input id="aa" value="批量上传" onclick="aacc();" type="button">
<input id="bb" value="少量添加" onclick="bbcc();" type="button">
<s:fielderror id="fileError" theme="simple" cssStyle="color:red"></s:fielderror>
</td>
</tr>
function aacc(){
var phone = $("#phone");
phone.children().remove();
phone.append("<input type='file' name='file' />");
}
function bbcc(){
var phone = $("#phone");
phone.children().remove();
phone.append("<textarea name='blackVO.userNumber' cols='50' rows='10' size='50' >
|