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

bootstrap-toggle switch is showing up as a checkbox

I have a ToggleSwitch component in react which I have made using bootstrap-toggle. But it is showing up as a checkbox and not as a toggle switch. Any help on this how to make it...

View Article


jQuery load event for element not working

I know we can select item using Jquery like this: var item = $('[aria-label="rect"] svg'); The thing I don't know is, why I'm not able to detect if the item has been loaded using this:...

View Article


Image may be NSFW.
Clik here to view.

Live console input/output for a gameserver using JavaScript

General information: I have a Minecraft server running in the basement for some friends that is running for a couple months now. We were using TeamViewer to input commands into the console and view...

View Article

Filter redux state based on specific url to display one product and it's...

I'm currently setting up a drupal based e-commerce react site. I already have it set up to make api calls and store data in my react app. When I console log I'm getting my current 3 products, and I'm...

View Article

How to wait until file is uploaded using Axios

I'm working on a Reactjs project where I can upload and download files.But when I upload a file, the request PUT from Axios is completed before the file is fully uploaded to my database. I use the...

View Article


Angular 8 pipe window.resolveLocalFileSystemURL return problem

2I can't return the code in line 23 angular pipe please help

View Article

Conditional Js for Wordpress website doesn't work

I am working on a multilingual website on wordpress. I need to have different taglines on the french side and on the English side. In html for menu header I have both taglines :<p...

View Article

how to print the api data values by click on a particular button of this link...

how to print the api data values by click on a particular button of this link "https://api.alternative.me/v2/listings/"link "https://api.alternative.me/v2/listings/"

View Article


Filling a model with a list from Textarea

There is Textarea filled with different meanings (id, name) Can values ​​be transferred to the model index: [{ itemId: "", itemname: "" }] and if so, how?https://codesandbox.io/s/crazy-tdd-iyc03

View Article


Horizontal scrolling of div as page scroll

I try to make a horizontal scrolling inside a div. Scrolling happens as the user scrolls the page. Somehow I manage to scroll the div, but it does not look pleasant. I don't know what the error is...

View Article

How to filter out multiple specific keys and values from an array

I have this array of objects. I want to filter out only few of them, particularly the ones containing numbers.const arr = [ { Title: "Joker", Year: "2019", Rated: "R", Released: "04 Oct 2019", Runtime:...

View Article

react-redux connect() function mapStateToProps is updating but component not...

I'm using React, Redux and React-Redux Provider functionconst mapStateToProps = (store: any) => { console.log("mapStateToProps", store.textTwo); return store.textTwo; }; if I use above...

View Article

How can I download the data from two different tabs with the same template...

I have defined a data template with the components which are retrieving user input data and then I am downloading it in form of a text file. I have two tabs which is based on the field 'Number of...

View Article


Image may be NSFW.
Clik here to view.

How to add selected by option in VIS network graph?

I wanted to highlight all neighbors of the selected node (highlightNearest)I am not able to achieve the same with javascriptSrackblitz link

View Article

Image may be NSFW.
Clik here to view.

Unable to stop the propogation of events in reactJs

I have a condition where I have simple dropdown menu When I click on Logout, The menu closes but logout method doesn't calls.I have two seperate components for header.:-Child comp - method to...

View Article


How can I randomly capitalise letters in a string

I'm sorry if this has been asked before, but I can't seem to find the right answer.I'm trying to create a random password generator using Javascript. I've set meself 4 basic requirements:Must contain...

View Article

Best way to pass some variable/id through google cloud functions child?

How to get this running ? Need to pass the itens id in the path to have access to product node, how can I do this ? const itens = db.ref(); const eanRef =...

View Article


Change class on scrolling through div

I have a sticky sidebar like this:<li class=""><a href="javascript:void(0)" class="model" data-id="1"> BMW </a></li> ...... <li class=""><a href="javascript:void(0)"...

View Article

Three JS TypeError: url is undefined

i'm new at three js and i'm trying to clone some object using obj + mtl format. The problem is when i'm loading my object i have an TypeError: url is undefined in three.js files.var models = { fence :...

View Article

Image may be NSFW.
Clik here to view.

How to render link label over the node and its label in Zoomchart netchart

I am creating Netchart using Zoomchart library. When I hover the link, link label is showing but behind the Node and its label, but I want link label should show at the top whenever I hover the link.

View Article
Browsing all 140071 articles
Browse latest View live


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