Às vezes, o EnterKey não está funcionando no IE8, usando o keyPressed do jQuery
No meu css HTML:
.edit_field {
height: 50px;
width: 495px;
line-height: 3.6;
}
html:
<textarea id="message" class='edit_field'>Enter message here</textarea>
javascrpt:
$('#message').keypress(function(event) {
// not getting fired this block when I pressed enter key
// For all other keys its got fired well.
if(event.which == 13) {
// -- -- --
}
});
Existe algum problema no meu código ou no meu navegador (IE8)?