How can I override a key pressed by user, replacing the keycode with another?
Issue
I have another kind of problem with Firefox
Description
I need to replace the point (.) character pressed by user with comma (,) character, similar Excel feature. I manage the keyPress event and I change event.charCode from 46 to 44. It doesn't work on Firefox.
Have you any suggestion? Thank you.
Troubleshooting information
Informazioni di base
Nome Firefox
Versione 3.6.6
Cartella del profilo
Apri cartella
Plugin installati
about:plugins
Configurazione build
about:buildconfig
Estensioni
Nome
Versione
Attiva
ID
Microsoft .NET Framework Assistant 1.1 true {20a82645-c095-46ed-80e3-08825760534b}
Preferenze modificate
Nome
Valore
accessibility.typeaheadfind.flashBar 0
browser.history_expire_days.mirror 180
browser.history_expire_days_min 10
browser.places.importBookmarksHTML false
browser.places.importDefaults false
browser.places.leftPaneFolderId -1
browser.places.migratePostDataAnnotations false
browser.places.smartBookmarksVersion 2
browser.places.updateRecentTagsUri false
browser.startup.homepage_override.mstone rv:1.9.2.6
browser.tabs.loadInBackground false
browser.tabs.warnOnClose false
extensions.lastAppVersion 3.6.6
general.useragent.extra.microsoftdotnet (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
network.cookie.prefsMigrated true
places.last_vacuum 1276163403
privacy.clearOnShutdown.cookies false
privacy.clearOnShutdown.history false
privacy.cpd.cookies false
privacy.cpd.downloads false
privacy.cpd.formdata false
privacy.cpd.history false
privacy.cpd.sessions false
privacy.item.history false
privacy.sanitize.migrateFx3Prefs true
privacy.sanitize.timeSpan 0
Todas as respostas (1)
A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the MozillaZine forum site in order to post at that forum.