惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
P
Proofpoint News Feed
D
DataBreaches.Net
C
Check Point Blog
L
LangChain Blog
量子位
美团技术团队
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
腾讯CDC
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale

博客园 - jascha

Eclipse可视化基面设计方法 Eclipse RCP的解释 java学习步骤 JAVA中的开源框架 给Eclipse换个启动界面! 干嘛要序列化? Eclipse安装AJAX环境(ATF,DOJO,Extjs...) Eclipse快捷键 yui-ext~~~cool! 部署Tomcat环境 捣鼓Mashup Mashup,老调新唱~ 微软的新技术 久违,重逢 对网格技术应用的分析 比较集群、网格、P2P区别(表格阐释) ASP.NET AJAX调用WS步骤 我的博客列表 开张大吉啦!
Javascript键盘响应及空格屏蔽 - jascha - 博客园
jascha · 2007-06-14 · via 博客园 - jascha

 1  <input name="keytext" type="text" id="keytext" style="width:200px;" onkeydown="checkThis()">
 2  <SCRIPT   LANGUAGE="JavaScript">   
 3  <!--   
 4  function   checkThis()   
 5  {   
 6          if(event.keyCode   ==   32)   
 7          {
 8                  event.returnValue   =   false;   
 9                  alert("被替换了");
10          }

11          document.getElementById("keytext").value = event.keyCode ;
12                  
13  }
   
14  //-->   
15  
</SCRIPT>