jyswjjgdwtdtj 当前离线
少尉
//jscript window. onload=function(){ alert(1) }复制代码
'vbscript sub window_onload() alert 1 end sub复制代码
TOP
<body> F:<input id=f /><BR/> C:<input id=c /> <script> var f=document.getElementById("f") var c=document.getElementById("c") f.onkeydown=function(){ if(isNaN(f.value*1)){return} c.value=(f.value-32)/1.8 } c.onkeydown=function(){ if(isNaN(c.value*1)){return} f.value=c.value*1.8+32 } </script> </body>复制代码
<body> F:<input id=f /><BR/> C:<input id=c /> <script language=vbscript> 'set f=document.getElementById("f") 'set c=document.getElementById("c") sub f_onkeydown() if not isnumeric(f.value) then exit sub c.value=(f.value-32)/1.8 end sub sub c_onkeydown() if not isnumeric(c.value) then exit sub f.value=c.value*1.8+32 end sub </script> </body>复制代码
评分人数
sub a msgbox b end sub window.onload=getref("a")复制代码