Basically i am trying to create a userinfo command for discord.js, i followed some tutorials and i seemed to make one, but i get this error saying: TypeError: C
I have this code And I want to show a different message when I click in one of these options. document.getElementById("specialityAppointmentSelection").
I'm working on a Chrome extension and have a set of js files imported in the extension's popup in <script defer src="../utils/X.js"></script> tags.
I am having issues with learning angular, I didn't use to have these problems before, but now when I do these demos things work great until I switch from using
I have very simple component template: <button (click)="emitNextValue()">Next Value</button> <p *ngIf="text$ | async"> {{ text$ | async }}
I'm still learning Javascript and I'm trying to parse a value from a cookie in a specific key: I'm using this current line: const cookieObj = new URLSearchParam
We have something like this if(true) { const a = 1; function myFunc() { alert(a); } myFunc(); } In Safari 11 this cause "ReferenceErro
My problem is : DevTools failed to load source map: Could not load content for chrome-extension://flijfnhifgdcbhglkneplegafminjnhn/content/socket.io.js.map: Sys
I am using an Auth Context Provider in my App, which is initialised in this file: authState.js import React, { useReducer, createContext, useContext } from "rea
react I have that problem. I cant add a new item inside an object const person = { name:"farhan", age:"25", address:"daka" }; person.push({professi
var pause = document.querySelector(".pause1"); var audio = document.querySelector(".audio1"); function togglePlay() { if (audio.paused)
I'm not able to get the following code to work: $(function() { function verifyRecaptcha() { return new Promise((resolve, reject) => {
I have codes below code removed The problem is it prints rows of expenses and then rows of incomes (i.e posts from expenses are printed first then after them i
The following code: var words = ['javascript', 'hmtl', 'css', 'python']; words[0] = words[3]; words[3] = words[0]; alert(words); ...gives
I am using a form in rails to pass an id. That id will trigger the javascript Sweet Alert function which will pop up a modal with a confirmation message. When t
I know that .slice() can only work on arrays and strings. I'm calling .slice() on an array and I am still getting that error. Here is my code:
I am brand new to knockout.js - I have taken over an existing app written in it, the previous maintainers having left - and I want to start by writing tests tha
I'm using the Angular version 12 I want to send the following object in query params: { dynamicQueryOperators: 6&dynamicQueryOperators=8 } But in the end
I am trying to implement firebase authentication on my website. However, whenever I try to test the function, I get the following error: Uncaught ReferenceError
This is going to sound really, really basic, but I just need a little help understanding one of the concepts I'm struggling with in Javascript. I have been read