Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Browsing all 138134 articles
Browse latest View live
↧

Difference between two dates with start date after end date

I am currently using the following function to calculate difference between two dates using momentjs:function calculateWorkdays(startDate,endDate) { // + 1 cause diff returns the difference between two...

View Article


Is it possbile to import a javascript program in python?

I am working on a research project. Where few of the libraries are written in javascript. Is there any possibility to import a javascript program in python as a module and be able to use its functions?

View Article


insert text in the links of the tree in d3

I am having a problem adding text in middle of the links to a tree, because the last level of the tree doesn't give me any text. This is the code I have to add the text in the links: // Add threshold...

View Article

Display mysql in a html table with Node.js

i'm learning how to use node.js with mysql. I've tried to find some good documentation but in vain. i'm at the point where I can get my mysql data displayed in my browser but I want to handle it...

View Article

hljs in angular 8 using variables is empty

I am using hljs (imported in index.html), and 'ngx-highlight-js'. I want to create subcomponent that shows code snippet preview. Everything works good when I manually put in code like this:<textarea...

View Article


Best solution for unlocking web audio

I've been trying to think on some ideas on what I could make with JavaScript using Web Audio API. I know that depending on the user's browser I know that sometimes it won't let you play audio without a...

View Article

document.addEventListener fails to work sometimes

I have document.addEventListener attached to several elements. Then there is a page having several elements sharing the same class named xxxx and I get which element of class xxxx was clicked using the...

View Article

Am I installing Mongodb's package into my project correctly?

I'm working on a project that's shared on Git for others to use as well and I need mongodb dependencies in the project in order to access my database on the cloud.However, my code is never getting past...

View Article


Facebook ,google , and twitter official sigh in button on same row and well...

Dears, i am trying to implement social media sign up in my oracle apex login page, so i am using now the JavaScript APIs for every social media app. My problem is the design the buttons not appear on...

View Article


Vuetify tooltip in data table

I want to add some tool tip in a vuetify datatable , but nothing happen.this is the template that I need to use a tool tip<template v-slot:item.state="{ item }"> <div...

View Article

java script autocomplete problem in sublime text 3

I tried many packages but not working tell me how to autocomplete javascript code in sublime text 3?tell me process how to autocomplete javascript in sublime text3

View Article

two cross browser method to display URL assigned to the link with id of link...

https://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comhttps://stackoverflow.comh...

View Article

How to change Highcharts graph with HTML radio button input (JS/jQuery)

I'm stuck trying to update a graph in Highcharts, with float data associated with radio buttons. The radio buttons are on the page, they are associated with float values in the HTML, these values...

View Article


Image may be NSFW.
Clik here to view.

MIT APPInventor error on openning. How to fix it?

I installed MIT AppInventor successfully, but when I tried to open it on this address localhost:8004/ It shows an error like this: Sorry, the requested URL 'http://127.0.0.1:8004/' caused an error: Not...

View Article

Avoid getting array indexes via traversing through JSON object

METHOD : -const getAllKeys = obj => _.union( _.keys(obj), _.flatMap(obj, o => _.isObject(o) ? getAllKeys(o) : []) ) SAMPLE JSON :-const arr = {"{"name":"Base...

View Article


JS + HTML/CSS works on Android, but not on Windows - why?

I have a .JS code which scans the content of the {{Part of speech}} field in the database. Based on what is written in this field browser shows a corresponding item using CSS/HTML. E.g. if there's a...

View Article

How to stop Unhandled Promise error when running node.js file in BigQuery?

I'm running the following node.js code in BigQuery but I'm getting an unhandled promise error:I'm not too familiar with node.js - do I have to add a .catch() in there at the end?const BigQuery =...

View Article


Alexa Skill: is it possible to have Alexa play a .mp3 from Alexa Developer...

I'm trying to create a skill for Alexa that reproduces .mp3 files based on the category of the tg I choose. I state that I never used node.js and that I looked at a course on how to create alexa skill....

View Article

empty data when using jQuery to get data

I'm trying to get data from my table and put it inside my modal using jQuery i'm getting all rows without any problem but i can't get the first row of my table ,it's empty in modal for whatever reason....

View Article

How to get youtube video html element from iframe?

I need to modify the video element of an youtube embed iframe. when the website is loaded the video element exists inside the code but I can't query that element, Why?Here is my code of Iframe...

View Article
Browsing all 138134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>