• JavaScript

August 21, 2017, at 10:26 AM

I wanna export the current web page to pdf and I did as follows by using the JSPDF

August 20, 2017, at 11:17 AM

Is there a way to check 2 exists values in 1 table ?

August 20, 2017, at 11:16 AM

I have a 3 of menu tabs (ie

August 20, 2017, at 11:15 AM

I want to generate new div element with some information from input, but it is not working correctlyI have a big problem with saving and receiving data from localstorage

August 20, 2017, at 11:14 AM

Why does the code lose focus after I type in the description of work? After I type the description and hit tab the cursor goes nowhere

August 20, 2017, at 11:13 AM

In my page I have 3 text that act as filters that show/hide their respective classes

August 20, 2017, at 11:12 AM

How do you safely push a user influenced url to the DOM, namely to the src attribute of an img?

August 20, 2017, at 11:11 AM

I have a component structured as belowIt uses react-waypoint to fetch and render additional cards once a user reaches the end of the card collection

August 20, 2017, at 11:10 AM

I am creating some unit tests that work with promises which I want to resolve manually and am finding that my promise continuations seem never to be hitSo I open up the console in my jasmine debug panel, put a reference to $q on the window object

August 20, 2017, at 11:09 AM

I'm creating an npm library and I need to get the path to a fileMy module currently whenever get the path, it looks locally within itself from the node module folder

August 20, 2017, at 11:08 AM

Im building a checkout formThe following code sets the quantity from a form select box and the bottom one gives me the basic Sub Total , Tax and Total

August 20, 2017, at 11:07 AM

I'm looking at some ES6 code and I don't understand what the @ symbol does when it is placed in front of a variableThe closest thing I could find has something to do with private fields?

August 20, 2017, at 11:05 AM

I'm trying to display an array of objects with nested array of objects using the tag w3-repeat of the library w3js

August 20, 2017, at 11:04 AM

I want to do a radar chart but I have no control for the api output, so I have to turn a complicated data into some formI'm stuck for at least half an hour

August 20, 2017, at 11:03 AM

I'm working on building my first Google Chrome extension but have run into a problem

August 20, 2017, at 11:02 AM

This question already has an answer here:

August 20, 2017, at 11:01 AM

Question Write a function called 'maker' that creates an array and fills that array with numbers 1 to 25, then returns the array

August 20, 2017, at 10:59 AM

I have an Observable that emits a stream of values from user input (offset values of a slider)

August 20, 2017, at 10:57 AM

Here, I'm trying to insert a tr tag under a selected tr tagI managed to insert the tr in the table but it was in the bottom

August 20, 2017, at 10:56 AM

I am trying to raise the frequency of every node in any soundI have tried so many ways

August 20, 2017, at 10:55 AM

I'm making an Ajax request and assigning the dataset of this request to a new object {} using Objectassign() method and subsequently wants to delete one of the item in this new object

August 20, 2017, at 10:52 AM

I am trying to get a circled icon in my toolbar but positioned as so (see star icon below):

August 20, 2017, at 10:51 AM

I get the cannot read property 'split' of undefined when I do the following code:

August 20, 2017, at 10:50 AM

I'm generating an HTML table which contains rows like this one: I've been able to successfully get the ID and the trackingNumber value, but I'm trying to get the data-categoryName-id value and I'm stumpedHere's my script:

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.