Hi i wouls like to know if i can use Javascript inside construct 2, it is a plugin?
I would like to DISABLE the F5 key in my app, it is possible?
i was thinking to:
<script language=javascript>
document.onkeydown = function(){
if(window.event && window.event.keyCode == 116)
{ // Capture and remap F5
window.event.keyCode = 505;
}
if(window.event && window.event.keyCode == 505)
{ // New action for F5
return false;
// Must return false or the browser will refresh anyway
}
}
</script>[/code:atigdj82]
thanks