SoFunction
Updated on 2025-04-14

Some very practical and necessary small script codes page 3/5


Script 14: Scripts that receive keyboard instructions




Press A to jump to the map business card web page. Please press A
<SCRIPT language="JavaScript">
<!--
var hotkey=97
var destination=""
if ()
()
function backhome(e){
if (){
if (==hotkey)
=destination
}
else if (){
if (==hotkey)
=destination
}
}
=backhome

 

onkeydown="javascript:onenter();"

function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


onkeydown="javascript:onenter();"

function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>




onkeydown="javascript:onenter();"

function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


onkeydown="javascript:onenter();"

function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>


function onenter(){
 if(==13){
alert("Enter");
}
}
</SCRIPT>
Previous page12345Next pageRead the full text