Click here to Skip to main content
15,125,273 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How to merge to javascripts to test in console? Pin
DerekT-P21-Jun-21 23:50
professionalDerekT-P21-Jun-21 23:50 
QuestionAddEventListener in vanilla Javascript Pin
jkirkerx16-Jun-21 15:52
professionaljkirkerx16-Jun-21 15:52 
AnswerRe: AddEventListener in vanilla Javascript Pin
jkirkerx17-Jun-21 12:16
professionaljkirkerx17-Jun-21 12:16 
AnswerRe: AddEventListener in vanilla Javascript Pin
jkirkerx19-Jun-21 12:24
professionaljkirkerx19-Jun-21 12:24 
AnswerRe: AddEventListener in vanilla Javascript Pin
Richard Deeming21-Jun-21 0:42
mveRichard Deeming21-Jun-21 0:42 
GeneralRe: AddEventListener in vanilla Javascript Pin
jkirkerx21-Jun-21 7:26
professionaljkirkerx21-Jun-21 7:26 
GeneralRe: AddEventListener in vanilla Javascript Pin
Richard Deeming21-Jun-21 7:31
mveRichard Deeming21-Jun-21 7:31 
GeneralRe: AddEventListener in vanilla Javascript Pin
jkirkerx21-Jun-21 7:41
professionaljkirkerx21-Jun-21 7:41 
Right now the company, only has offices in California, a single state. So I did add all 50 states at least. And I did use type="tel" as well, standard procedure for me over the last 3 years. My options are limited on this project, because I'm using the existing database created in 2003. This project is a reimagination of code , or the existing project to bring it up to PHP 8 and modern browsers in 2021.

I just tried your suggestion, and I don't have to wait for the DOM to load before adding the listeners. I also thought I had to iterate the HTML Collection to hit each phone input, which is not the case. That's pretty slick Richard.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: AddEventListener in vanilla Javascript Pin
jkirkerx21-Jun-21 7:58
professionaljkirkerx21-Jun-21 7:58 
Questionhow to limit the draggable area in snap.svg? Pin
Member 1269897212-Jun-21 21:45
MemberMember 1269897212-Jun-21 21:45 
QuestionI am getting the following error while trying to run ./watch for my Ember JS application Pin
simpledeveloper1-Jun-21 20:44
Membersimpledeveloper1-Jun-21 20:44 
AnswerRe: I am getting the following error while trying to run ./watch for my Ember JS application Pin
jkirkerx16-Jun-21 15:58
professionaljkirkerx16-Jun-21 15:58 
QuestionHow To Use Dynamic variable in Javascript Pin
pranay kumar 202127-May-21 4:14
Memberpranay kumar 202127-May-21 4:14 
AnswerRe: How To Use Dynamic variable in Javascript Pin
jkirkerx16-Jun-21 16:01
professionaljkirkerx16-Jun-21 16:01 
QuestionHow to deskew a page of pdf document which is loaded through pdf.js Pin
Member 1520321817-May-21 9:58
MemberMember 1520321817-May-21 9:58 
QuestionJavascript Array Wrapper or Class Pin
Member 1510027612-May-21 15:23
MemberMember 1510027612-May-21 15:23 
QuestionUse of assignment operator inside {} Pin
captain prime30-Apr-21 2:40
Membercaptain prime30-Apr-21 2:40 
AnswerRe: Use of assignment operator inside {} Pin
Richard Deeming30-Apr-21 2:49
mveRichard Deeming30-Apr-21 2:49 
GeneralRe: Use of assignment operator inside {} Pin
captain prime30-Apr-21 19:23
Membercaptain prime30-Apr-21 19:23 
QuestionMulti select with Id:Value init issue - Tabulator.js (Oli Folkerd) Pin
Member 105369228-Apr-21 0:38
MemberMember 105369228-Apr-21 0:38 
QuestionNode express.js API slow response on first time request Pin
Member 1395114022-Apr-21 2:36
MemberMember 1395114022-Apr-21 2:36 
QuestionHelp Pin
fielle14-Apr-21 23:17
Memberfielle14-Apr-21 23:17 
AnswerRe: Help Pin
Richard Deeming14-Apr-21 23:51
mveRichard Deeming14-Apr-21 23:51 
Question8yr JS now giving me console error in FF and CHROME Pin
Member 1514660811-Apr-21 10:07
MemberMember 1514660811-Apr-21 10:07 
AnswerRe: 8yr JS now giving me console error in FF and CHROME Pin
Richard Deeming11-Apr-21 22:29
mveRichard Deeming11-Apr-21 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.