添加BUTTON类型,避免不同浏览器下的不同表现

This commit is contained in:
wlx 2010-06-28 17:42:49 +00:00
parent 15c554be67
commit 4efe615ba0
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ $this->breadcrumb()->setSeparator(' > ');
<ul><form id="search" enctype="application/x-www-form-urlencoded" action="/water/search" method="post"> <ul><form id="search" enctype="application/x-www-form-urlencoded" action="/water/search" method="post">
<li><input type="text" name="q" id="q" value="输入关键词搜索标题和摘要" onfocus="myfocus(this);" onblur="myblur(this);"></li> <li><input type="text" name="q" id="q" value="输入关键词搜索标题和摘要" onfocus="myfocus(this);" onblur="myblur(this);"></li>
<li><input type="submit" name="submit" id="submit" value="搜索"></li> <li><input type="submit" name="submit" id="submit" value="搜索"></li>
<li><button onclick="show('keyword');return false;">试验数据的关键词列表</button></li> <li><button type="button" onclick="show('keyword');return false;">试验数据的关键词列表</button></li>
<li><button class="float" type="button" onclick="location.href='/water/timeline'">试验数据的时间轴导航</button></li>
</form> </form>
<li><button class="float" onclick="location.href='/water/timeline'">试验数据的时间轴导航</button></li>
</ul> </ul>
</div> </div>
<div>&nbsp;</div> <div>&nbsp;</div>