客户类别:
|
普通会员 VIP会员 |
<SCRIPT language=javascript1.2>
function showsubmenu(sid,s){
whichEl = document.getElementById("submenu" + sid);
if (s==0){
whichEl.style.display="";
}
else{
whichEl.style.display="none";
}
}
</SCRIPT>
<table>
<tr>
<td height="30" bgcolor="#FFFFFF"><div align="right">客户类别:</div></td>
<td bgcolor="#FFFFFF">
<input name="c_sort" type="radio" value="1" checked id=menuTitle1 onClick="showsubmenu(2,this.value)">
普通会员
<input type="radio" name="c_sort" value="0" id=menuTitle1 onClick="showsubmenu(2,this.value)">
VIP会员</td>
</tr>
<tr bgcolor="#EAEAEA" style="display:none" id='submenu2'>
<td height="30"><div align="right">VIP卡号:</div></td>
<td><font size="2">
<input name="vipcard" type="text" id="vipcard" size="35" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="return false">
</font></td>
</tr>
</table>
function showsubmenu(sid,s){
whichEl = document.getElementById("submenu" + sid);
if (s==0){
whichEl.style.display="";
}
else{
whichEl.style.display="none";
}
}
</SCRIPT>
<table>
<tr>
<td height="30" bgcolor="#FFFFFF"><div align="right">客户类别:</div></td>
<td bgcolor="#FFFFFF">
<input name="c_sort" type="radio" value="1" checked id=menuTitle1 onClick="showsubmenu(2,this.value)">
普通会员
<input type="radio" name="c_sort" value="0" id=menuTitle1 onClick="showsubmenu(2,this.value)">
VIP会员</td>
</tr>
<tr bgcolor="#EAEAEA" style="display:none" id='submenu2'>
<td height="30"><div align="right">VIP卡号:</div></td>
<td><font size="2">
<input name="vipcard" type="text" id="vipcard" size="35" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="return false">
</font></td>
</tr>
</table>