<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>無標(biāo)題文檔</title><script>window.onload=function(){? ? document.getElementById("as").onKeyPress=function(e){? ? if(!e) e=window.event; if(e.keyCode){keyCode=e.keyCode;}else {keyCode=e.which;} string=String.fromCharCode(keyCode); document.getElementById("sa").innerHTML+=string; }}</script></head><body id="as"><div id><p id="sa;">df</p></div></body></html>怎么運(yùn)行不起呢?
哪位高手來幫我看看呀
sunny颯楓
2016-02-18 15:07:24