How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [javascript]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). This tag is rarely used alone but is most often associated with the tags [node.js], [jquery],[json], and [html].

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Command to download/fetch the latest committed file to a particular folder from github

I need a help on downloading the latest committed file to a particular folder in github. The files under that folder will be tar files. Tar files will be added once in a week/month. Please share if ...
0
votes
0answers
5 views

Download files from server and store to local machine using NodeJS GraphQL

I am using Nodejs Graphql , I want to download file from server to my local machine without providing path ,for ex :suppose its document then it will auto download to documents folder, need help
0
votes
0answers
5 views

Formik values are empty after calling a redux action dispatch

I'm using Formik to implement a filter, after submitting the filter I've a list to show our customers orders. For each rows, we've a link that contains customer full-name and after clicking on the ...
0
votes
0answers
10 views

What is faster for storing and manipulating a grid: 2D array, 1D array or a hash table?

For my Node.js application I need to choose the best performing structure to represent a grid. My requirements/limitations are: The grid to store is two-dimensional by nature (x, y) and not very ...
0
votes
0answers
12 views

How to copy the content inner HTML tag using angular 8?

I want to copy the content inner HTML tag using Angular 8 but I have no idea. Someone help me, please? My code is below: <div class="row"> <div class="col-md-4" *ngFor=&...
-1
votes
0answers
9 views

How To Replace Values Of JSON Object By Input Fields on Keyup

Hey I Am Having Some Problem. When I Input Values In Input Fields It Has To Set All Values To My JSON object But It Doesn't Do that. So How Can I Set values Of JSON using Input Fields Like This Please ...
0
votes
0answers
20 views

How to modify array data with foreach

I took data from MongoDB and executed it with forEach statement. However, I want to change the date data from 2018-08-01T00:00:00.000Z' to 'YYYY-MM. When I ran console.log using the Moment package of ...
0
votes
0answers
6 views

React filter multiple JSON requests with hooks

I am trying to make a filter that combines multiple filters. The user can choose e.g. "big/not-big" and "heavy/not-heavy" Each filter loads a JSON-file. However, I'd like to ...
-1
votes
0answers
5 views

How do you take a parameter from the URL and append it to external links of a particular domain?

Say I have a page URL that contains a parameter: http://www.example.com/page/?c=XXX On that page, there are multiple identical links to an external domain. These links already have parameters in them,...
0
votes
0answers
19 views

ReferenceError: Image is not defined?

I just can't figure out why I am getting the Reference error for my following TypeScript code: const loadImage = async (src: any) => new Promise((resolve, reject) => { const ...
0
votes
0answers
4 views

plotting ISS with matplotlibtoolkit in dehrasdun

iss duniya ka kya hoga ni beraiss duniya ka kya hoga ni beraiss duniya ka kya hoga ni beraiss duniya ka kya hoga ni beraiss duniya ka kya hoga ni beraiss duniya ka kya hoga ni beraiss duniya ka kya ...
0
votes
0answers
4 views

How do I change the mock implementation of a function in a mock module in Jest

I have a utils file that looks something like this const a = () => {...}; const b = () => {...}; const c = () => {...}; export {a, b, c} I also have a mock of my utils file in my mocks ...
0
votes
0answers
9 views

Listen to onpopstate with Vuejs without vue-router

I am using vue.js with laravel and I am using a vue component with laravel blade file. I want to reload the page when I press the back navigation button to go to the previous page. I have this code ...
-4
votes
0answers
16 views

convert array to json javascript [closed]

I do have a problem with my data. So I have an array like this. players: [ { name: player1, age: 13, }, { name: player2, ...
0
votes
2answers
26 views

html and javascript on a simiple table

I am doing a basic course for web development. I used html for creating a very simple table with 2 columns: Apples and fruits. Fruits should be the number of apples + 5 (basic approach for a better ...

15 30 50 per page
1
2 3 4 5
140223