Category "javascript"

How to a drop down-down menu list

I am trying to do a dropdown menu in javascript where get all states from a function and show in the drop down menu. But the code that I have so far is showing

Get interaction's reponse message object discord.js

Si I have this really simple command : let row = new Discord.MessageActionRow().addComponents(...) // The .. is too long so i'll just remove it for this questio

AppleScript For Multiple Safari Tabs And Mouse Click?

Complete noob to AppleScript here with a rather complex one: I would like automate a script that can do the following: After launching, waits for 61 minutes wit

Using JSDoc to set an index signature on an ES6 Class

In Typescript, you'd just do this: class Test { [key: string]: whatever } Which allows you to access computed property names like so... class Test { getPro

Vb.net code not performing as Javascript code

I translated a script from javascript that is correctly computing the APRs on mortgage loans into visual basic code which I'm trying to use on another site. I h

Having a problem with Javascript Phaser 3 Class

I'm trying to implement the following code into a class, as follows is the code ,and the attempted class. Implementation //----------------------------MIST--

Insert scroll button horizontal using jQuery

I am trying to replicate this example into my own coding. The List tabs are generated dynamically using JS and each have their table (also generated using JS).

How to use "oneOf" in this schema?

I'd like to have either A or B, but not both (mutual exclusive.) I have to use whatever is avaliable in Draft 3, even though it says 4 on the top. Reason being,

MapBoxGL, multiple layers performance issue

Premise: I have a set of data (stops on the map)loaded via geoJSON in a clustered source, each of these stop locations can have a different icon. I have over 14

How can I select one group radio button from two groups and get the value of selected radio?

I want to select one group radio button from two groups and get the value of the selected radio in a variable and show it in another place. function uncheckRadi

event listener's event is being used more than once

I have this weird bug that whenever I want to add an item/card to the list and I cycle between clicking the text input and then clicking outside of it, the list

Responsive reorganizing of divs in DOM

My project uses Tailwind + Vue 2. I'm using Vue to iterate through a list and show multiple rows. Each row starts collapsed and has the option to be expanded. T

Does a web-worker spawn it's own network thread?

In the app I'm working on, there's a page which makes an excessive amount of requests. A few hundred requests are sent to the server at a time. Some of them are

How I can connect each name in list using id concept (python)

I created a list of users page and user profile page and I want when click on any name in the list it should show that user profile page. in .html <table cla

How to call an external API from Google Apps Script

I want to call the Steem API from inside a Google Apps Script function. I want to see the appropriate server response. But I get the following error instead. A

Is there a function to find how many of a duplicate there are in an array with objects, then remove all the duplicates? [duplicate]

let array = [{ fruit: "banana", number: 1 }, { fruit: "banana", number: 2 }, { fruit: "rambutan", number: 1

Loopback4 execute sql with params / ER_BAD_FIELD_ERROR: Unknown column 'reactionType' in 'field list'

I want to increase the value of the 'reactionType' column in my table by 1 according to the 'reactionType' value I get from the api. reactionType is a variable

add an filter by ressource for fullcalender sheduler

i using the premium version and i want integrate the fullcalendar to hotel room booking system , so i use resource Event solution as room number and i have on r

How can I apply datatable to my other page

Layout page,Datatable Js and css added here Here is Category Index Page Datatable is working here Here is Product Index Page Datable is not working even though

Object passed by server cannot see the function in a class

I am passing an object from server and I cannot see it pass functions. here is my code. const express = require('express'); const app = express(); const path =