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

Image may be NSFW.
Clik here to view.

How do I scroll into a item in a list by search operation using react?

So, I made a react app that displays a list of items from a json file as in the pic. I want to implement a search feature where i can enter the name and it checks for the name in list and scrolls to...

View Article


how to get the number of days with dates of a given week number by using...

I want to show them in a loop Having an understanding of javascript & jQuery.I have done to get the week number in a loop by using this code, for now, I want to get all days with dates of the given...

View Article


How to add value from one query to another

I'm using React to send data to my PostgreSQL database using NodeJS. I have a foreign key in my songs table that REFERENCES to the id in my albums table. My question is how can I return (or whatever...

View Article

remove email from URL string Javascript

My intentionMy intention is to NOT let the Facebook pixel receive the Email that is mentioned in the URL string that is the main goal. I would like to solve this by using, for example, Custom...

View Article

How to csrf_token in asynchoronous post with jquery

I found several posts in relation to my question, but none of them solves my problem. I am sending data to the server but I keep getting a 403-error with an error-message that complains about the...

View Article


Programmatically make website accessible (aria, etc)

I'm wondering if there is some JS code I can quickly put on my site that will just automatically attach standard ARIA attributes.

View Article

Disable mouse scroll middle click event with jQuery

I wrote the below code for disabling the scroll in the mouse while it is clicked. but my code does not work an when I click with the scroll of my mouse it opens my link.Here is my code...

View Article

How can i Change tab background color on selection using javascript?

Although the question is really common I really couldn't quite find a definite answer. I have two tabs 'Tab1' and 'Tab2' I want the color of the active tab to change when the user clicks on it. Is...

View Article


How to get display this javascript returned value in html input field?

I want the result of JavaScript in my input field so that it will push the value to my php mysql db while clicking submit.In this code I am able to get the Javascript result in HTML but I don't know...

View Article


Create-React-App, Express.js GET route works in dev mode, won't work in...

My case: I'm developing a web application where a user can get information regarding traffic events, current traffic flow and information regarding flights that recently landed at specific airports....

View Article

Image may be NSFW.
Clik here to view.

DevTools failed to parse SourceMap: chrome-extension

A week ago i think, I started getting warning messages in my google chrome console. Clearing cache doesn't change anything, the messages disappear only in incognito mode.Any ideas how to get rid of...

View Article

Using CSS Tooltips in a Multiple-Column DIV

I need to display tooltips for specific terms in a multiple-column div, and I need them to work across multiple browsers. I began with the w3schools CSS Tooltip example, which works great in a normal...

View Article

change font size after decimal point

I am working with an Opencart E-Commerce website, I need to customize product price font size, for example: product price: $ 250.50 i need to set font size for $ = 16px;250 = 22px;.50 = 14px;How can I...

View Article


How to generate and place a blob file on a relative path?

While building the "Add to Homescreen" feature on a relative URL, I am generating my manifest.json dynamically and placing it via creating a Blob URL and adding it to the href attribute of the...

View Article

How to share Image-Url to Facebook, twitter and Instagram in React JS

I have a page where the User can upload their image and edit it by using one Api. Now using the image recieved, in the url format, needs to be shared in social media like Facebook, Twitter and...

View Article


Why does CasperJS capture is not working?

Hope you are doing well,Purpose: Take Screenshot when page is fully loaded Tried: Already tried with wait for some MS and when id was found take SS. But it wan't work as of...

View Article

How to pass a php variable to an Wordpress AJAX call?

I have embeded a post (CPT) by a shortode. So I get the output of this post on a page, where I want to filter the content of this embeded post by AJAX. That would work, if I could send the ID of this...

View Article


Destructuring an array and its properties at the same time

Is it possible to destructure elements of an array while also destructuring some of its properties as an object ?For example, the following code compiles but doesn't give the expected result :const...

View Article

How to block user from adding + or - in input field in react js?

Basically, input field should accept only 1 - 999 valuesInput Field : <input type="number" value={value} onChange={this.props.onViltMaxUserChange} min="0" max="999" /> onChange :...

View Article

Where to make a toggle action in this react redux code?

I have 2 files here: App.js and reducer.js I try to use React & Redux for creating onclick toggle action (ex: background color change). Can anyone help me to where can I make toggle action in this...

View Article
Browsing all 138134 articles
Browse latest View live


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