Questions tagged [javascript]

1 votes
1 replies
Multi dataset line graph from table
I am trying to create a multi set line graph using chart js and angular. Using map I can reduce the json data to single Dimentional array but I n...
asked 1 month ago
5 votes
1 replies
Why does the Chrome V8 JavaScript engine recognize “TG-1” through “TG-12” as valid dates/times?
I implemented a CSV parser that guesses the type formats for each column but I have found that the JavaScript Date class believes "TG-1" is a val...
0 votes
0 replies
URL out of the SPA wiht parameters in Angular [closed]
I have a single page application created with angular that responds to url's: https://myapp.com/#/page1   with a navbar and a footer that is di...
1 votes
2 replies
Is there a way to move an HTML object if the object is too close to the border of the window?
Context : When I hover on the tag image, a box shows up and it shows the artwork infos. My problem is, if the tag is too close to left or right b...
asked 1 month ago
0 votes
1 replies
React Native Maps - the Card View is not showing
The problem is the Card View is not showing. I tried to apply it with index and position but nothing works. I need other's perspective. Thank you...
1 votes
0 replies
Catch/Prevent Page Change When Hitting Breakpoint: Firefox
I'm having an issue where AJAX requests that are not completed are triggering some kind of error that is caught by my global error handler when u...
0 votes
1 replies
how to use cypress viewport refresh reload
Website is supposed to work only on Mobile web (Shows error message on desktop web), trying to automate the same using cypress viewport. Manual...
asked 1 month ago
0 votes
1 replies
xmlDoc.getElementsByTagName - Multiple same tag names, get only one from certain parent?
I'm trying to parse different XML file for certain information, but in the file's there are multiples of the same tag name, but the amount of the...
asked 1 month ago
0 votes
1 replies
Show results of query in a different blade
Originally I tried to show the results in a modal, but change it to show the result in a different blade. I want to retrieve all the comments mad...
-4 votes
1 replies
Is there any way to track multiple bikes at same time on google map? [closed]
Actually, I am making a webPage which is going to receive some bikes data from aws-iot by using mqtt over web socket and accordingly bikes icons...
asked 1 month ago
0 votes
0 replies
bootstrap-table plugin Display Bootstrap custom checkbox in column selection dropdown
I've been using the bootstrap-table plugin and I would like the column selection dropdown to have the bootstrap custom checkbox style. Does anyo...
-1 votes
1 replies
Google maps direction api with ajax
I am working on a small website that uses ajax and the google maps API to load directions. I have a DB that stores lat-longs of a few locations a...
asked 1 month ago
0 votes
2 replies
Concatenate and aggregate json object data with node.js
I generate the following json in my Node application: [ { id: 1, name: 'user1', sport: 'athletics', medal_count: '1'...
asked 1 month ago
0 votes
0 replies
Corrupt XLSX file after download via axios
I try to create an XLSX file in a Vue application with axios. I do this: First I send a post call to the backend controller: return axios({...
asked 1 month ago
0 votes
2 replies
How do you use the WP REST API to display search results in plain Javascript?
I have a search field that I would like to generate the results of a user's search by pulling data from the JSON files from the WP REST API. I n...
asked 1 month ago
0 votes
1 replies
Jasmine testing stateful service
I am new to Jasmine testing and looking for a "best practice" for unit testing a stateful AngularJS service. Most tutorials I could find focus on...
0 votes
0 replies
canvas class object, image is not refreshing
Why JS draw() method is not calling that url on every interval to switch to a new random image? document.addEventListener("DOMContentLoaded"...
asked 1 month ago
0 votes
2 replies
Flexbox layout with two columns on desktop and one column on mobile
Simple layout with flexbox question: Desktop Layout requirements Two responsive columns 1st column with 30% of the width 2nd column with 70%...
asked 1 month ago
0 votes
0 replies
Why React returns “Object() is not a function” when using marked library?
I'm making a markdown editor using Marked library like this <div id="preview" dangerouslySetInnerHTML={ {__html: marked('Rendered by **marked*...
asked 1 month ago
1 votes
2 replies
Cannot read property 'checked' of undefined - Javascript
Console is saying " Cannot read property 'checked' of undefined " I have radio buttons which I'm using for a questionnaire and based on the...
asked 1 month ago
1 votes
0 replies
Detects Redirect and open a modal (Popup)
I have a scenario trying to redirect DNS to another URL and i.e http://oldexample.com to another page of new website https://example.com.com/newp...
2 votes
2 replies
What is missing within my javascript for a disappearing navbar?
I want to avoid jQuery so I can get a better feel for Javascript. For now I have a Codepen set up that displays a large majority of my first pro...
asked 1 month ago
0 votes
1 replies
How to wait firebase, fetch data and return array in method?
So i have this method in container component: getProfilesOptions = () => { const result = firebase.firestore().collection('roles').get()...
asked 1 month ago
0 votes
3 replies
Sorting Array of Objects by Object Name Typescript
Using TypeScript, I am trying to sort an array of Objects by the name of the actual object, not an object key. A name key does exist on these obj...
asked 1 month ago
-1 votes
1 replies
where can I vote for changes to javascript?
As a newbie, I find .unshift() to be very illogical. I understand that it's complicated how some words come about. I want to vote that the verb...
asked 1 month ago