看了半天 ,你页面的 'nogoogle1' 在那里?
解决方案 »
- 如何禁用Fckeditor过滤js代码?
- javascript怎么处理单击事件与拖动事件并存
- 免费提供Iron gothic 字库
- [新手提问]javascript:前缀.
- js Form提交保有输入提示的问题
- 为什么我这段代码无法改变value的内容?
- 页面切换,没有权限
- 数据库更新级联菜单的问题,怎么样从下拉列表获得的value或者text中取数据进行查询?(解决就送分)
- 请问:strDiv = strDiv.replace(/<TD><\/TD><\/TR>/g,"</TR>")?????????
- <input id="haha" name="hehe">这个id和name区别?
- 如何用javascript添加新項目
- 为什么用resin可以输出时间,而用tomcat就不行?
<tr>
<th><label for="srchname">用户名</label></th>
<td><input type="text" id="srchname" name="srchuname" size="45" maxlength="40" /></td>
<td>用户名中可使用通配符 "<strong>*</strong>",如 <strong>*user*</strong></td>
</tr>
<tr>
<th> </th>
<td><button class="submit" type="submit" name="searchsubmit" value="true">搜索</button></td>
<td> </td>
</tr>
</tbody>
</table>
<table summary="搜索选项" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>搜索选项</th>
<td> </td>
</tr>
</thead>
<tr>
<th>搜索方式</th>
<td>
<label><input type="radio" name="srchtype" value="google" checked="checked" onclick="javascript:clickgoogle(this.checked)">谷歌搜索</label>
<label><input type="radio" name="srchtype" onclick="orderbyselect(1);clickgoogle(false)" value="title" /> 标题搜索</label>
<label><input type="radio" name="srchtype" onclick="orderbyselect(1);clickgoogle(false)" value="blog" /> 搜索文集</label>
<label><input type="radio" name="srchtype" onclick="orderbyselect(2);clickgoogle(false)" value="trade" /> 搜索商品</label>
<label><input type="radio" name="srchtype" onclick="window.location=('search.php?srchtype=threadtype')" value="trade" /> 搜索分类信息</label>
<label><input type="radio" name="srchtype" onclick="orderbyselect(1);clickgoogle(false)" value="fulltext" /> 全文搜索</label>
</td>
</tr>
<tbody id="nogoogle1">
<tr>
<td>主题范围</td>
<td>
<label><input type="radio" name="srchfilter" value="all" checked="checked" /> 全部主题</label>
<label><input type="radio" name="srchfilter" value="digest" /> 精华主题</label>
<label><input type="radio" name="srchfilter" value="top" /> 置顶主题</label>
</td>
</tr>
</tbody>
<tbody id="specialtr1">
<tr>
<td>特殊主题</td>
<td>
<label><input type="checkbox" name="special[]" value="1" /> 投票主题</label>
<label><input type="checkbox" name="special[]" value="2" /> 商品主题</label>
<label><input type="checkbox" name="special[]" value="3" /> 悬赏主题</label>
<label><input type="checkbox" name="special[]" value="4" /> 活动主题</label>
<label><input type="checkbox" name="special[]" value="5" /> 辩论主题</label>
<label><input type="checkbox" name="special[]" value="6" /> 视频主题</label>
</td>
</tr>
</tbody>
<tbody id="specialtr2" style="display: none">
<tr>
<td>商品类别</td>
<td>
<select name="srchtypeid"><option value="">全部</option></select>
</td>
</tr>
</tbody>
<tbody id="nogoogle2">
<tr>
<th><label for="srchfrom">搜索时间</label></th>
<td>
<select id="srchfrom" name="srchfrom">
<option value="0">全部时间</option>
<option value="86400">1 天</option>
<option value="172800">2 天</option>
<option value="432000">1 周</option>
<option value="1296000">1 个月</option>
<option value="5184000">3 个月</option>
<option value="8640000">6 个月</option>
<option value="31536000">1 年</option>
</select>
<label><input type="radio" name="before" value="" checked="checked" /> 以内</label>
<label><input type="radio" name="before" value="1" /> 以前</label>
</td>
</tr>
<tr>
<td><label for="orderby">排序类型</label></td>
<td>
<select id="orderby1" name="orderby">
<option value="lastpost" selected="selected">回复时间</option>
<option value="dateline">发布时间</option>
<option value="replies">回复数量</option>
<option value="views">浏览次数</option>
</select>
<select id="orderby2" name="orderby" style="position: absolute; display: none" disabled>
<option value="dateline" selected="selected">发布时间</option>
<option value="price">商品现价</option>
<option value="expiration">剩余时间</option>
</select>
<label><input type="radio" name="ascdesc" value="asc" /> 按升序排列</label>
<label><input type="radio" name="ascdesc" value="desc" checked="checked" /> 按降序排列</label>
</td>
</tr>
<tr>
<td valign="top"><label for="srchfid">搜索范围</label></td>
<td>
<select id="srchfid" name="srchfid[]" multiple="multiple" size="10" style="width: 26em;">
<option value="all" selected="selected">搜索所有开放的版块</option>
<option value=""> </option>
<optgroup label="K.YmSAR團隊"><option value="2"> > |聊天|</option><option value="3"> > |入隊|</option><option value="84"> > |踢出隊員|</option></optgroup><optgroup label="CS討論區"><option value="88"> > |技術|</option><option value="26"> > |下載|</option><option value="10"> > |短片|</option><option value="25"> > |貼圖|</option></optgroup><optgroup label="綜合討論或論壇交流"><option value="92"> > |音樂|</option><option value="105"> > |視頻|</option><option value="90"> > |水池|</option><option value="93"> > |美女|</option></optgroup><optgroup label="論壇"><option value="69"> > |意見||建議|</option><option value="8"> > |事務||聯盟|</option></optgroup> </select>
</td>
</tr>
</tbody>以上为nogoogle1那些东西
这个在哪个radio里设置就默认是哪个...
不然來發問干嘛
不過你的還不行,有點問題,但是在你基礎下添加了這個才能正常運作,呵呵
<body onload="document.getElementsByName('srchtype')[1].checked=true;orderbyselect(1);clickgoogle(false)">