Bug Tracker

Opened 12 years ago

Closed 12 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 12 years ago by addyosmani

Component: unfiledevent
Owner: set to anonymous
Priority: undecidedlow
Status: newpending

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

Resolution: invalid
Status: pendingclosed

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.