Bug Tracker

Opened 5 years ago

Closed 5 years ago

#9537 closed bug (invalid)

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:
Blocked by: Blocking:


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 (2)

comment:1 Changed 5 years ago by addyosmani

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

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 5 years ago by trac-o-bot

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

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.