• JavaScript

October 15, 2021, at 3:20 PM

I'm not the best at explaining this stuff but here I go

October 14, 2021, at 07:40 AM

I have prepared a method that prints the element , but it only works properly on the Windows platform and does not work on the Android platformAfter searching, I realized that Google Cloud Print can be used, but I realized that it is no longer supported

October 13, 2021, at 02:10 AM

I have to pass my state from Authenticationjs to App

October 11, 2021, at 8:30 PM

I am trying to manipulate a dataset to make it easy to display in mongoChartsThere are two sets of team_a and team_b, each contains a set of playerId, score, rank, and prize

October 10, 2021, at 04:30 AM

I am trying to prevent any error thrown from my server crash the browserI have tried with try-catch but also with the apollo-link-error's onError Link

October 09, 2021, at 00:10 AM

suppose there is a div with class "box" on clicking the button with class "button" I want to remove the class "box" from the div and add a absolutely new class "active" to the divwhat will be the jQuery code of the following?

October 07, 2021, at 4:00 PM

I have the below array of objects I just want to display name and its image

October 06, 2021, at 11:50 AM

I'm triying to order a string depending on items length

October 05, 2021, at 03:50 AM

I need to merge an array of deliveries that have notes, how would I remove the duplicate object but still keep the note string and store it in an array for the non duplicated object

October 03, 2021, at 11:10 PM

I want to update values within an Array of Objects saved to my localStorage

October 02, 2021, at 1:50 PM

I'm doing the discordjs getting started bot but I always get this error: SyntaxError: Unexpected token?

September 29, 2021, at 1:20 PM

how to put these to streams into one?

September 28, 2021, at 07:30 AM

I'm trying to call functions using switchI can see my console

September 27, 2021, at 03:30 AM

I want to run my lofijs file X times for my discord bot

September 25, 2021, at 9:10 PM

i'm working on blockchain based document verification systemthe system perfectly works when there is a document issued by the user

September 24, 2021, at 2:00 PM

1Hi guys, this is a little exercise that I do so I have fun and learn a bit, what I want the code to do is that when I click on the button, the image showes up alonng with the text

September 23, 2021, at 08:40 AM

I'm trying to implement a workaround for what appears to be a known issue in all browsers but firefox where webRTC audio stream is downgraded to mono from stereo

September 21, 2021, at 12:20 PM

I have this APP componentAt the bottom of the code, have a Link to a CountryDetail component

September 19, 2021, at 11:10 AM

I don't know is the right place or not to ask this questionI have a web-based inventory application that is running on Ipad

September 18, 2021, at 02:40 AM

I want to separate route directory, but i can't and get below error

September 16, 2021, at 3:30 PM

I am trying to build a mini browser using Electronjs

September 15, 2021, at 09:20 AM

I have an application in SPFXAfter installing and started to use a jQuery Datatable component, I get the following error on gulp bundle:

September 13, 2021, at 5:40 PM

I am trying to create a "Confirmation Modal" on deleting a row in a tableWhen the user wants to delete a row a Modal is shown (on click of a button) in which the user must type the username as a confirmation to delete it and click the delete button

September 12, 2021, at 11:10 AM

I'm working on switching some things from jQuery over to vanilla JSI'm having trouble with some of the methods

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.