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

Why is nothing displaying I when use the slider

When I run the code nothings changes and nothing works, the JavaScript does not do anything not even run the alerts. The ranges in the html are supposed to go into a function that gets their value and...

View Article


Angular reactive form *ngFor loop, cannot read 'property' of undefined

StackBlitz exampleI'm trying to loop dynamic values to create radio button items on my form. I have managed to display the three radio buttons coming from my data:radiot: [ { section: "yes",...

View Article


How to display JSON data in react-native without a list?

Good afternoon. I comprehend the development of an application on a reactive native, I encountered a problem with displaying data.From the server side comes json[ { "cell_name": "112185", "id":...

View Article

Multi select html and javascript value send from POST , GET

Good morning.And enter Html select in another select but the second select does not send information either by GET or by POST. I don't know where I will add the id = "" and name = "" in javascript, to...

View Article

Electron App: Turn off On-Screen Keyboard Windows 10 Tablet

I've written an electron application and implemented my own input widgets to be used with my application - optimized for mobile touch input. Whether this is a good idea in general or not should be not...

View Article


Allow only one radio button to be true (get value from each item.value)

I'd like to solve the following problem:I got a data structure like that:{ "options": [ { "id": 1, "title": "Car", "value": true }, { "id": 2, "title": "Bike", "value": false }, { "id": 3, "title":...

View Article

JavaScript YouTube video insert error: The request does not include the video...

I am trying to upload a video into YouTube using gapi.client.youtube.videos.insert from JavaScript code (from the browser). After making the request an empty video post is getting created on YouTube...

View Article

__doPostBack is not defined

Im getting that error when try to call a __doPostBack on one of my pages, every page that i have in the project use __doPostBack function but in this particular page im getting that Javascript error.i...

View Article


Check if the browser supports document.querySelectorAll in JavaScript

Now although most modern browser support document.querySelectorAll(), you may run into problems with older versions of Internet Explorer. The obvious way of checking if the browser supports a function...

View Article


react-snap 404.html file exists

I get the below error when trying to run react-snap, I can see alot of people that have run into similar issues but I haven't seen a solution to fix this so far.It builds to a folder called dist and...

View Article

how to deploy smart contract on blockchain without using geth or tuffle or...

hello i have implemented my personal blockchain using node js for IOT uses case so i want now to deploy smart contrat code into this blockchain without using geth or tuffle or ganache OR Remix or...

View Article

Haste module naming collision: react native app with AWS Service (Amplify...

i have started with react native project, earlier was in native code. i wanted to add Amazon Lex so followed below steps from link i used EXPO CLIhttps://aws-amplify.github.io/docs/js/interactionsbelow...

View Article

Swap image src after ajax request using jQuery

I need to swap the image src of an img element using jQuery. I fetch the images using $.getJSON() and this is a different one every time. I've chained this swap to the hover of an <li> element...

View Article


Problem looping through some custom data in Javascript

I am working on some custom application built with Laravel on the backend and some javascript on the frontend. I have some errors that I have pulled from the backend and logging it in console tab. Am...

View Article

How to pass value to the request action url in el-upload?

<el-upload class="upload" action="http://127.0.0.1:5000/upload/email" :file-list="fileList">Here i have used elementio UI library and I need to pass email value to the 'action' url to end like...

View Article


TypeError: Cannot read property 'parentElement' of undefined on .remove()

I'm creating buttons dynamically with this functionfunction addFormFields() { i += 1 const parentdiv = document.createElement('div') const delicon = document.createElement('i') const btndelete =...

View Article

How to correctly populate a drop down list via ajax and MVC controller

I've searched quite a bit for this answer and can't find much that covers what I need. I have some data stored in a db table I want to populate certain drop down lists with. On the document.ready I...

View Article


Block access to Express routes until route has finished

I have a route in my Express REST-API that does some db actions. I would like to block all other calls made to the REST-API until the actions in that route have finished.So when this route is accessed...

View Article

Vue.js - How to convert a simple array to dynamic NxNxN Matrix

Imagine you have an array:listItems = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ,13 ,14 ,15 ,16, 17, 18, 19, 20, 21, 22, 23]; And I want it to convert into 3-dimensional Array((Matrix of ROW x COLUMN)x...

View Article

Image may be NSFW.
Clik here to view.

Why does a "for ... in" loop—for (var/let/const A in B)—make A a string in...

This is in Chromium 78:Now, I expected for (var i in [1,3,5]) console.log(i+1) to output 1, 2, 3, because i should be an index value. I know the MDN docs mention that the order may come out strangely...

View Article
Browsing all 139805 articles
Browse latest View live


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