Bug Tracker

Ticket #9537 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

The keycode bug under Mozila 5

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: 1.next
Component: event Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:

Description

No image "[[Image(" attached to Ticket #9537)]]$('.infobox').keypress(function(event){

$('p').text('Character typed is ' + event.keyCode + ' corresponding char typed is' + String.fromCharCode(event.keyCode));

});

class infobox is an input text. The above code works fine under IE. But there happens something wrong under FF(Mozila 5). The character doesn't appear as I like.

I wonder if this may have something to do with the default character encoding style of FF(Mozila 5).

Change History

comment:1 Changed 4 years ago by addyosmani

  • Owner set to anonymous
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to event

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket! (the current code doesn't represent enough for us to go on)

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate:  http://jsfiddle.net/rwaldron/da3nM/

Open the link and click to "Fork" in the top menu.

comment:2 Changed 3 years ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.