今天写了个 搜索  想来发表发表 

 

  

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<input type="text" name="keyword" />

<script src="jquery.js"></script>
<script>
function search(){
console.log('点击了 1111')
}
function entersearch(){
//alert(dd);
var event = window.event || arguments.callee.caller.arguments[0];
if (event.keyCode == 13)
{
search();
console.log('点击了 2222')
}
}
</script>
</body>
</html>

 

如有不足,还请大神指点一二

相关文章:

  • 2022-12-23
  • 2021-05-25
  • 2021-06-09
  • 2022-01-13
  • 2022-02-01
  • 2022-01-14
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
相关资源
相似解决方案