Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [javascript]

For questions about programming in ECMAScript (JavaScript/JS) and its different dialects/implementations (except for ActionScript). Note that JavaScript is NOT Java. Include all tags that are relevant to your question: e.g., [node.js], [jQuery], [JSON], [ReactJS], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

javascript
0 votes
1 answer
13 views

Refresh / Reload page on pause youtube iframe api

I have a problem with my code. I want to refresh the page on pause or exit of full screen. The exit on Full screen works. The pause using the youTube iframe API does not "onstatechange". ...
Tone's user avatar
  • 19
-2 votes
0 answers
38 views

How can I make all my images to fit in the screen? [closed]

const names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", ]; ...
Alex's user avatar
  • 91
0 votes
0 answers
8 views

Hide page count from the go to section of the pdf toolbar when pdf is opened in browser

From java side I am converting tiff images to PDF like below. Rectangle pagesize = new Rectangle(maxWidth, maxHeight); Document document = new Document(pagesize); PdfWriter.getInstance(document, ...
Raju Kumar Shah's user avatar
0 votes
0 answers
27 views

How to automatically change the background color on left side of an HTML range slider?

I'm making an HTML music player project and I'm trying to make the left part of the <input type="range" value="0"> slider be black. The slider is to show how much a song has ...
user26529736's user avatar
0 votes
0 answers
12 views

How to create coupon/paywall in an Elementor Pro page for FREE

Hi there masters good day! Is it possible to create a page with a coupon code form, then the selected visitors need to enter the valid coupon code I emailed to them, and if the coupon code they ...
troyds's user avatar
  • 65
1 vote
2 answers
27 views

PHP HTML JS pagination

I have a page which feedbacks which looks like this (I just show 1 comment per page to see if the pagination works fine. Otherwise I'll show more): The feedbacks come from a mysql database and are ...
Andy McRae's user avatar
0 votes
0 answers
7 views

Download/Preview files in MS Teams from mobile device in custom teams application

I'm facing a wall on how to be able to download/Preview a file from a Microsoft Teams app on mobile. We have a custom Microsoft Teams application. In our application we have files that users should be ...
Caribouflex's user avatar
0 votes
0 answers
13 views

Simple sticky scroll effect causes glitch on mobile browsers

I wanted to use a scroll effect (parallax + filters) in a very simple page. It's just a sticky 120vh div with a background image and some text. Everything works fine in the desktop browser and with ...
Moritz Roessler's user avatar
0 votes
0 answers
6 views

Context Load before Client? react-native

i created a context to start up the socket but before that it validate the token sending a request to the server. there is an issue that i can't really figure it out. if the app is closed and i open ...
anfield's user avatar
  • 33
0 votes
0 answers
10 views

React & Cypress Component Tests: How to pass an object to an imported library in the Cypress setup?

I'm setting up Cypress to run component tests on a React-based app. The app uses multiple libraries, which I cannot change in any way. Although the app runs perfectly well, I'm unable to get any ...
Dorian Fabre's user avatar
0 votes
1 answer
8 views

How to build a Vue web component which reflects an internal state as an attribute?

I am building a web component input which looks like this with Vue 3: <my-input value="Search"></my-input> How can I make sure that the value attribute is always equivalent to ...
leonheess's user avatar
  • 19.9k
0 votes
0 answers
26 views

Vue 3 and Vitest focus input sets document.activeElement to HTMLBodyElement in test in composition API

Given a Vue 3 component <template> <input id="input" type="text" @focus="handleOnFocus($event)" /> </template> <script setup type="ts">...
mummybot's user avatar
  • 2,750
0 votes
0 answers
3 views

Filter nodes in quasar tree with lazy loading

How can I filter nodes in an quasar tree component when I have lazy child nodes ? The problem is that when I have an lazy loading system, I need to open the entire tree in order to filter, ortherwise ...
Igor Barcelos's user avatar
0 votes
0 answers
9 views

How to get "supportedAbis" on android browser

How can i get at least one supported ABI of android device through website on android browser? I just want supported ABI name like (arm64-v8a, armeabi-v7a, x86-64) of android device through website ...
Sunny's user avatar
  • 1
0 votes
0 answers
8 views

NodeJS WebRTC - RTCAudioSource - Expected a .byteLength of 480, not 2770

I'm trying to have my nodejs backend act as a peer that streams pcm audio to the browser via webrtc (https://github.com/WonderInventions/node-webrtc). (let's assume it's the only way to achieve what I ...
Royi Bernthal's user avatar

15 30 50 per page
1
2
3 4 5
66