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

Send back data to ASP.NET from AngularJS

I'm new coding so, here's my question, I'm getting data from my DB through c# and angularJs I can modify my data and I want to sending back after I'm gonna need to save it on DB but I'm going step by...

View Article


ko.observable() trim ending whitespace

I have an HTML text input called hours that is verified as a number through a knockout extender. If the user entering the hours has any whitespace after the number they enter, I would like to simply...

View Article


ReactNative : Function called twice automatically inside FlatList

I have been in trouble seeking a solution to the silly problem. There is something missing from my code which I am unable to understand for now. Looking forward to your answers and information...

View Article

Why is ajax 'post' not functioning?

I want to send data post to php site then print. The php print is not working. I already examined the other questions but nothing helpful. It will not work out. Why?JS (working)$.ajax({ url:...

View Article

How to get images src link in javascript using context menu in chrome?

I'm trying to get the images src URL and add an "" tag to it using JS and a chrome context menu. I'm new to JS and coding in general and was wondering if I'm on the right...

View Article


How to remove from DOM all the videoJS controls

I know that I can to pass controls="false" to not show controls, text-boxes and any other stuff from videojs, but that only hide that elements. I want to know how to remove completely all the elements...

View Article

How can I calculate the sum of values of Plaid API transaction array in Java...

Apologies for the potentially silly question - I'm fairly new to coding/JavaScript. I am using Plaid's sandbox environment to pull in transactional data in a sandbox environment. Right now, I define...

View Article

Email link that opens in existing tab if the domain is the same

I have user registration process where at the end of it an email is sent to the registering user to confirm the user's email. The user then goes to his/her email and finds the email with the...

View Article


CYPRESS - Finding and yielding a table row that contains some text

Im trying to get the entire row that contains some text in the child elements. I want to later manipulate it but when I try: cy.get('.tr').contains('Example Text') ... it always yields/returns the span...

View Article


How do I randomly assign 4 ids in an array of a React Native (Javascrip)...

This question already has an answer here:How can I shuffle an array? [duplicate] 2 answersHi Thanks for reading.I am struggling to show 4 answers randomly in my quiz app project now. The data is as...

View Article

What is the deference between 2 snippets of code [duplicate]

This question already has an answer here:addEventListener calls the function without me even asking it to 4 answersfor (let i = 0 ; i < 4 ; i ++){var btn = document.createElement("button");...

View Article

Web app - how to seperate frontend and backend properly [closed]

I am a member of the Scrum group at my university. We will determine the roles today (Scrum Master, the person responsible for the frontend, the person for databases, etc.). I think I want to be a...

View Article

How to make the jquery code, working only on touchscreen? [duplicate]

This question already has an answer here:jQuery - Execute scripts based on screen size 5 answersWhat's the best way to detect a 'touch screen' device using JavaScript? 35 answersI need on the Computer...

View Article


Hot reload crashing after changing sub-file of "folder import"

I have a project setup that looks like this (use this as an MVCE):src/ styles/ index.ts common.ts app.tsx The code in index.js looks like this:import CommonStyles from "./common.ts"; export {...

View Article

jQuery not executing .then()

I am having trouble with a .when().then() call in jQuery.I am a teacher taking attendance in class by scanning student IDs. So I have a form that the ID scanner successfully populates and then hits the...

View Article


Infinite asyncIterator is not working as expected

So I am trying to create an infinite asyncIterator / generator. The code is supposed to yield "Hello" and "Hi" to the 'for await of' loop and then wait forever for next value. The problem is that it...

View Article

Save json to chrome storage / local storage

I want to save json to chrome or local storage. I also need to be able too add items without losing the others.

View Article


How to pass music from a streaming service into HTML5 element?

first post here! I'm kind of a noob in JS but I'm working to improve. So, I'm building this audio visualizer using vanilla JS. I still need to work on the CSS but I'm satisfied with it right now - It...

View Article

Content disappears after routing from login page? React Router Dom + Electron

SummaryI'm building an electron app with react. Currently I have 2 main routes - a login page, and a dashboard. The dashboard has 3 sub routes controlled by a sidebar. The 3 sub routes - home, install,...

View Article

Image may be NSFW.
Clik here to view.

I need to make a flexible grid using CSS Grid [closed]

There is code that downloads and displays images but me need to embed them on the grid using CSS Grig. The problem is that I can't create the same grid as in Imgur. Tell me how to do it :

View Article
Browsing all 138163 articles
Browse latest View live


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