Category "javascript"

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 =

Twilio Video JavaScript low quality local preview

Twilio Video shows the local video in low quality although the other users see it in much better quality. Actually, it should be in HD resolution. Is this a kno

How do I read an uploaded file (text/.csv) using nestjs and Multer

I need to read my CSV file in the controller to add CSV file data into my DB. But I don't know the way to that. I search for an answer so many times but I can't

Cloudinary Widget is populating twice in my app

I'm using Cloudinary as an image hosting DB for my application. I'm trying to call the widget, whenever I toggle the submit for my ORM function. The call is wor

Regex to match anything after a delimiter

I have the following case: Time format and some description which is separated by a delimiter - (as like below) 00:00 - Hello element I was using the below rege

why im getting this error Elements in iteration expect to have 'v-bind:key' directives

my code works perfectly but i still didnt manage to find out why am i getting this error message i looked it up and it seems that im missing. And another proble

How to change the final array to the front in JavaScript?

The case is: function trocaPrimeiroEUltimo(array) { array.array[0] array.array[array.length - 1] return array } I did this way, but it didn't work.

Contact Form 7 - Conditionally/Dynamically Attach Local Files to Email Based on Input Selection

I have a number of checkboxes that indicate the item that is ordered through our online order form system. For each item selected there is a corresponding .pdf

Sum numbers inside a table

Can anyone help me how to sum numbers inside a table in React.js? My scenario is that I have Product table, inside product it has header column (no, product nam

Repeat a loop a number of times

// What's the minimum number of times you have to flip a coin before you can have three consecutive flips that result in the same outcome (either all three are

Aurelia hiding/ and showing div element when button click is not working

I am trying to hide and show div element based on the button that is clicked. I used if.bind and show.bind, but neither of them is working. View: <div class=

Unexpected identifier '_classCallCheck'. Import call expects exactly one argument

Unexpected identifier '_classCallCheck'.import call expects exactly one argument. Problem with React Native. I tried everythig from google, but it didn't work.

How to disable typing but allow copy and paste in a text box in Angular 8?

I want to restrict typing in a text box but I need to paste anything inside that textbox in Angular