Fix a small Javascript to work on all browsers

Concluído Postado há 5 anos Pago na entrega
Concluído Pago na entrega

I have this piece of JavaScript for a Magento2 webshop which should work on all browsers (IE, Edge, FireFox, Chrome and mobile devices):

require(['jquery','domReady!'], function ($) {

$(".input").keydown(

function (e) {

/* Ensure that it is a hyphen and stop the keypress*/

if ([login to view URL] == 189 || [login to view URL] == 109) {

[login to view URL]();

}

}

);

});

At this moment it works in Chrome, but not in Edge or on mobile devices.

The purpose of this JavaScript is to remove hyphens ("-") from an input-field if a users types them.

JavaScript jQuery / Prototype

ID do Projeto: #18386182

Sobre o projeto

9 propostas Projeto remoto Ativo em há 5 anos

Concedido a:

aka572e3f9e14b95

Hi, I can do it Reading your proposal this looks like a perfect fit for my skill sets. I have professional experience in mobile & website development from scratch. Experienced on PHP, JavaScrypt, MySQL, Laravel, S Mais

€9 EUR em 1 dia
(3 Comentários)
0.8

9 freelancers estão ofertando em média €21 nesse trabalho

IjazSe

Dear Sir/Madam Hope you are doing great!. I can surely assist you with my service in fixing JavaScript code for all browsers right now. Looking forward for your positive response. Best Regards, Ijaz Hussa Mais

€40 EUR in 0 dias
(9 Comentários)
3.7
cma93

Hi, I'm an experienced Programmer. I'm interested in your task and would like to do it. I'm available so contact me anytime............ Thanks.

€23 EUR em 1 dia
(6 Comentários)
2.8
diegoanazonian

Hello ! I would like to know more about your requirement, Chat me and lets talk about, Hope to talk to you. Regards, Diego !

€30 EUR in 3 dias
(8 Comentários)
2.8
solhere

Hi contact to me. i can resolve it as i am also a good JS developer.

€12 EUR em 1 dia
(4 Comentários)
2.4
smartDevItech

perfect! it's my job, I have 7 years experience in the development of application based on javascript I can fix this bug in 1 days. contact me and I will send you the solution quickly.

€9 EUR em 1 dia
(3 Comentários)
2.2
mohammadshahid11

Hello, I am having good experience in asp.net and jquery , javascript and entity framework. please let me know if any query. thank you

€30 EUR em 1 dia
(5 Comentários)
2.0
gearupfuture

We are a close team of Creative Designers & Developers who work together to create Beautiful, Engaging Digital Experiences.

€23 EUR em 1 dia
(0 Comentários)
0.0
Nilofarsolanki

i have a good knowledge on jquery and JavaScript. please let me know when can we sit fir the issue solving so i can manage time accordingly. thanks

€14 EUR em 1 dia
(0 Comentários)
0.0