I need to know if the shift key is being held down, while running the function, when the user drops,
I'm trying to use this code in javascript
<script type="text/javascript">
$(document).ready(function(){
$("body").keypress(function(event)
{
if(event.keyCode == 16) // se a tecla apertada for 13 (enter)
{
/* funçao a ser executada */
teste(); // abre uma janela
}
});
});