<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="Tip.css" type="text/css" rel=stylesheet charset="utf-8"/>
<script language="javascript" type="text/javascript" src="Tip.js"></script>
<title>Ajax Tip</title>
</head>
<body>
<h3>Ajax下拉提示 (完全支持鼠标键盘响应,支持IE7.0/FF3.X/Mz5.X)</h3>
<div id="Exam">测试输入:卡、冷如静、跑跑、光良、Ajax</div>
<br />
<input type="text" id="ShowText" onblur="javascript:setTimeout('HideTTip()',300);" onkeyup="javascript:if(this.value!=''){ShowTip();}else{HideTTip();}" size="50" autocomplete="off"/>
<input type="button" id="alert" name="alert" value="搜 索" onclick="javascript:if(document.getElementById('ShowText').value!=''){alert(document.getElementById('ShowText').value);}">
<div id="ShowTip" style="display:none"></div>
</body>
</html>
评论0
最新资源