Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Browsing index pages (147938 articles)
↧

How to Reset IOS folder in react-native

I'm working on a react-native application, I made some mistakes on the iOS project side. Android goes well and no problems. I would like to know if there is any solution to completely reset the iOS...

View Article


How do I embed videos from different sources in a ReactNative app?

I'm trying to implement playing videos from a number of sources into a learning app built with Expo and ReactNative. I want to include video sources from:YouTubeVimeoMicrosoft StreamCustom .mp4 linksI...

View Article


Why do non-static methods not appear as properties of the constructor?

Here I'm trying to explore more about object properties using Object.getOwnPropertyDescriptor. But when I used the not-static method I'm getting nothing in response. I don't know what is the reason...

View Article

Why is a property defined as { writeable: true } in the descriptor not...

Please, help to understand why is the line obj['prop'] = 'zzz'; doesn't work and even shows error when "use strict"; is on and works fine when Object.defineProperty(obj, 'prop', {value:'zzz'}); is...

View Article

Scheduling access token refresh across tabs

To authenticate users in my Angular app i use access tokens with expiry time X seconds and refresh tokens that can be used to prolong the auth for another X seconds.So the flow is this:A user signs in....

View Article


Mapbox on('load', function() shows data that should be hidden when I open the...

I have set the 'Student Comments' layer as initially hidden using a setLayoutProperty call as seen heremap.on('load', function() {map.setLayoutProperty('user-data-comments', 'visibility', 'none');...

View Article

jQuery show/hide on click in Wordpress

I have three buttons that change color when you hover (sprites) and I want to use those buttons so that when they are clicked on, different content will display.I've gone through multiple tutorials /...

View Article

Image may be NSFW.
Clik here to view.

JavaScript progressive counter

Yesterday I found a nice effect on some website which I decided to implement on my projects, its a simple JavaScript progressive counter, it will look something like thisobviously it starts from 0 to X...

View Article


Algorithm for Photoshop Bevel/Emboss layer style technique chisel soft

I'm trying to recreate the layer style "bevel and emboss" with technique "chisel soft" in Javascript. Here is a sample image and the filter applied.original imagechisel soft, depth 100%, size 50pxThe...

View Article


How to retrieve data from database using Vue

SolvedSomehow, as commented by a user, moving the template from the webpage into the vue script solved the problem. I am not completely sure why though. Here is a working fiddle that also works on my...

View Article

View JSON file in Browser

It is not a programming question, but need your views in few words.When we hit the JSON url in Broswer, it asks us to save the file. Why this happens ? Is there any way to view it on the page itself...

View Article

Axios response data to JSON

I'm not familiar with JavaScript and Axios, so any help will be great :)My request from Axios to URL has this response.data: '{"id":"test1", "cool":"test2"}'When trying JSON.parse like thisconst...

View Article

Playwright JavaScript: MakeMyTrip flight search shows NETWORK PROBLEM despite...

Problem descriptionI am automating the flight search functionality on the MakeMyTrip website using Playwright with JavaScript.When I open MakeMyTrip manually in Chrome, enter the flight search details,...

View Article


JavaScript Rental Date Logic

So, basically I'm building a rental form where you have three basic dropdowns for Month, Day, Year for a "rent from" and then another three for "rent till."That's easy enough and I've even got decent...

View Article

How to force html elements into one line?

I have some elements like:<div><div style="overflow: hidden; white-space: nowrap; text-overflow:ellipsis"> Texttttttttttttttttttttttttttttttttttttttttttttttttttttttttt<div style="float:...

View Article


Write something in href without affecting the path of html file

I'm new in web development and creating a web site.There I get data from the Movie Database API, especially the id.Now I want if you click on a movie, another page should load and the Details are...

View Article

I can't create a dynamic navigation menu using pure JavaScript

I tried to create a dynamic navigational menu using pure JavaScript but the code doesn't work.I created an empty unordered list that will be filled automatically using JavaScript// Identify container,...

View Article


The page doesn't refresh . Why?

I tried to build this JavaScript calculator, but there is a problem. When I enter values it's working well, but the problem is when I refresh the page, it doesn't refresh; it only saves the first...

View Article

How do I dynamically edit the html and CSS of a web site that is NOT mine...

I'm trying to make a script that highlights certain divs/creates new divs on chess.com, a widely used web site; this will be used to highlight moves that are suggested by an engine I will be making. I...

View Article

CSS div hide if input is clicked

I need your help.If .radios .mevcut input ~ #checks is clicked, show the div.How can I display none on the checks div..radios .mevcut input~#checks { display: none;}<div...

View Article
Browsing index pages (147938 articles)


Latest Images