Prova cosi
codice:// function thats called when any of the keys on the keyboard are pressed $("input:text, input:password").bind("click",function(e){ if( $(this).val()=='Cancella'){ $(this).replaceSelection("",true); } elseif( $(this).val()=="Maiusc"){ if(shifton ==false){ onShift(1); shifton =true; } else{ onShift(0); shifton =false; } } else{ $(this).replaceSelection($(this).val(),true); if(shifton ==true){ onShift(0); shifton =false; } } }); });

Rispondi quotando
