您的位置:首页 > Web前端 > JavaScript

js原来可以这样写

2007-06-06 15:37 447 查看
<table>
<tr>
<td width="24%" height="22" align="right" bgcolor="#FFFFFF" valign="center">是否图片栏目:</td>
<td width="76%" height="22" align="left" bgcolor="#FFFFFF">
<select name="isPhotoCategory" onchange="if(this.options[this.selectedIndex].value=='N'){uploadCategoryPicTr.style.display='none';}else{uploadCategoryPicTr.style.display='block'}">
<option value="Y" >是</option>
<option value="N" selected >否</option>
</select>
</td>
</tr>
<tr id="uploadCategoryPicTr" style="display:none">
<td width="24%" height="22" align="right" bgcolor="#FFFFFF" valign="center">上传图片:</td>
<td width="76%" height="22" align="left" bgcolor="#FFFFFF">

<img src="/octopus/images/common/btn/btn_sz.gif" style="cursor: hand;" onclick="window.open('/octopus/jsp/htmledit/uploadContentImg.jsp?module=001002001', '图片上传', 'width=578, height=200 ','alwaysRaised=1')">

<input name="contentPhotoPath" type="hidden" value="">
</td>
</tr>
<tr id="ddd" style="display:block">
<td width="24%" height="22" align="right" bgcolor="#FFFFFF" valign="center">上传图片:</td>
<td width="76%" height="22" align="left" bgcolor="#FFFFFF">

<img src="/octopus/images/common/btn/btn_sz.gif" style="cursor: hand;" onclick="window.open('/octopus/jsp/htmledit/uploadContentImg.jsp?module=001002001', '图片上传', 'width=578, height=200 ','alwaysRaised=1')">

<input name="contentPhotoPath" type="hidden" value="">
</td>
</tr>
</table>
阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: