Click here to Skip to main content
15,112,866 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How do I get my input box to persist after clicking Amend? Pin
Richard Deeming4-Jul-21 22:41
mveRichard Deeming4-Jul-21 22:41 
GeneralRe: How do I get my input box to persist after clicking Amend? Pin
samflex5-Jul-21 3:41
Membersamflex5-Jul-21 3:41 
GeneralRe: How do I get my input box to persist after clicking Amend? Pin
Richard Deeming5-Jul-21 3:47
mveRichard Deeming5-Jul-21 3:47 
GeneralRe: How do I get my input box to persist after clicking Amend? Pin
samflex5-Jul-21 4:24
Membersamflex5-Jul-21 4:24 
GeneralRe: How do I get my input box to persist after clicking Amend? Pin
Richard Deeming5-Jul-21 4:39
mveRichard Deeming5-Jul-21 4:39 
GeneralRe: How do I get my input box to persist after clicking Amend? Pin
samflex5-Jul-21 4:49
Membersamflex5-Jul-21 4:49 
Questionjs problem Pin
tkshitiz30-Jun-21 23:13
Membertkshitiz30-Jun-21 23:13 
AnswerRe: js problem Pin
Richard MacCutchan30-Jun-21 23:15
mveRichard MacCutchan30-Jun-21 23:15 
QuestionA button at html to trigger an autoplay audio at exact time Pin
Member 1526543828-Jun-21 0:42
MemberMember 1526543828-Jun-21 0:42 
QuestionRe: A button at html to trigger an autoplay audio at exact time Pin
Richard MacCutchan28-Jun-21 1:06
mveRichard MacCutchan28-Jun-21 1:06 
AnswerRe: A button at html to trigger an autoplay audio at exact time Pin
Member 1526543828-Jun-21 1:11
MemberMember 1526543828-Jun-21 1:11 
GeneralRe: A button at html to trigger an autoplay audio at exact time Pin
Richard MacCutchan28-Jun-21 1:24
mveRichard MacCutchan28-Jun-21 1:24 
AnswerRe: A button at html to trigger an autoplay audio at exact time Pin
Richard Deeming28-Jun-21 5:06
mveRichard Deeming28-Jun-21 5:06 
GeneralRe: A button at html to trigger an autoplay audio at exact time Pin
Member 1526543828-Jun-21 23:11
MemberMember 1526543828-Jun-21 23:11 
GeneralRe: A button at html to trigger an autoplay audio at exact time Pin
Richard Deeming28-Jun-21 23:25
mveRichard Deeming28-Jun-21 23:25 
QuestionHow to merge to javascripts to test in console? Pin
ajaszin18-Jun-21 15:52
Memberajaszin18-Jun-21 15:52 
AnswerRe: How to merge to javascripts to test in console? Pin
Richard Deeming21-Jun-21 0:45
mveRichard Deeming21-Jun-21 0:45 
GeneralRe: How to merge to javascripts to test in console? Pin
DerekT-P21-Jun-21 10:22
professionalDerekT-P21-Jun-21 10:22 
GeneralRe: How to merge to javascripts to test in console? Pin
Richard Deeming21-Jun-21 22:49
mveRichard Deeming21-Jun-21 22:49 
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 
After some more reading, some articles said that this will be available within addEventListener. So I'm just going with it, should work. I have to wait for my DEV server to become available again to test it.
document.addEventListener("DOMContentLoaded",() => {

    const phoneInputs = document.getElementsByClassName('phoneNumber');
    for (let phoneInput of phoneInputs) {
        phoneInput.addEventListener('keydown', () => {
            formatPhoneNumber12(this.value)
        });
    }

});
If it ain't broke don't fix it
Discover my world at jkirkerx.com

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 

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.