标签:color io ar sp on c cti ad r
$(function() {
$advertisingType = $(‘#advertisingType‘);
$advertisingType.click(function() {
value = $advertisingType.val();
if ( value == 4 ) {
$(‘.tr‘).hide();
}
if ( value != 4 ) {
$(‘.tr‘).show();
}
});
});
<td width="24%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">模块类别:</td>
<td width="24%" height="30" bgcolor="#f2f2f2">
<select name="advertisingType" id="advertisingType">
<option value="">--请选择类型--</option>
<option value="1">--广告浏览--</option>
<option value="2">--促销活动--</option>
<option value="3">--商家宣传--</option>
<option value="4">--宣传调研--</option>
</select></td>
<tr class=‘tr‘>
<td width="24%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2 tr">联系电话:</td>
<td width="24%" height="30" class=‘tr‘ bgcolor="#f2f2f2"><input name="linkPhone" type="text" id="linkPhone" size="30" /></td>
<td width="24%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2 tr">产品详情:</td>
<td width="24%" height="30" class=‘tr‘ bgcolor="#f2f2f2">
<textarea name="productItem" id="productItem" cols="30" rows="5" ></textarea></td>
</tr>
标签:color io ar sp on c cti ad r
原文地址:http://www.cnblogs.com/qiuyang1/p/3997174.html