2,522,539 questions
Score of 0
1 answer
28 views
How can I retrieve the text from my search bar and use it in my event listener without triggering a addEventListener is not a function? [closed]
I'm making a website that displays restaurant in a specific area. The website has a search function where the user can search for a restaurant name and the website will display it. E.G, user input is &...
Score of -1
1 answer
56 views
Add controlling properties to make drag and drop experience smoother
I am adding child divs to a parent div dynamically and can successfully drag and drop the child divs between the parent divs, but the dragging and dropping behaviour is not user friendly. Just slight ...
Score of 2
1 answer
68 views
Why does useEffect show an old external store value after React Activity is shown again?
I was testing Activity in react 19.2 and noticed that a component using useEffect keeps the old store value after the activity is hidden and then shown again.
The same example works correctly with ...
Score of 0
1 answer
83 views
How to use the "JavaScript Express Application" project type in Visual Studio 2026?
I've recently started looking into developing a client side JavaScript application, that should run on pure client side JavaScript.
With this I've come across the "JavaScript Express Application&...
Score of 0
2 answers
78 views
How to queue microtask at tail end?
In JavaScript, we can queueMicrotask, but this takes the same priority as any newly created promises (e.g. if the codebase is littered with async functions that resolve immediately).
Is there a way I ...
Score of -11
0 answers
155 views
How to programatically export data from Excel to Photoshop? [closed]
How can I automatically import text from an Excel spreadsheet into Photoshop text layers using a JavaScript/ExtendScript?
I have a translation script in an Excel file. Copy-pasting it line by line ...
Score of 3
1 answer
185 views
Why would one use WebAssembly in the Backend?
From my research, I understand WebAssembly is a tool that allows devs to run non-JavaScript languages (e.g., C/C++) on the client-side, but I have also seen comments online suggesting it can be used ...
Score of 1
0 answers
38 views
Facebook iOS in-app browser converts a Page URL to fb://profile but shows a blank page
Environment
Our mobile landing page is opened from a Facebook ad inside the Facebook iOS in-app browser. The page contains a CTA that should open our public Facebook Page:
https://www.facebook.com/...
Score of 1
1 answer
48 views
How to remove contextmenu event without using getEventListeners() in bookmarklet?
I've got a piece of code which successfully removes the block on right-clicking
I need to make it work in Chrome only so getEventListeners() is fine
I can't install my own extensions
I have code ...
Score of -6
0 answers
116 views
Updating Cshtml page without reloading it [closed]
Typically when you make a request to a controller, you get a view back. I don't want a view back, I don't want the page to reload, I want to do something on my page based on the http response. Below ...
Score of 0
2 answers
83 views
Restricting the droppable vicinity of dynamically generated draggable div [duplicate]
I am adding draggable child divs to a parent div and making the draggable child divs draggable upon creation via an ajax call. I want to be able to drag .liveBox divs only to the div ....
Score of 0
4 answers
114 views
Dynamically created divs not draggable
I have a table with two cells with a parent div in each cell.
Via an ajax call I am populating the divs with child divs and I want the child divs to be draggable but after setting them to be draggable ...
Score of 0
3 answers
120 views
What are ways to Draw Rectangle on Image? Image display. But Rectangle does not display. Canvas element JavaScript [duplicate]
Details:
Rectangle does not appear on Image Canvas.
Seems like image layer is upper layer.
Want to:
I want to make rectangle appear on image.
Situation:
Rectangle does not display. But image display.
...
Score of -2
1 answer
95 views
How to redirect from index.html to main.html after animation ends?
I am working on a web project with two HTML files, index.html and main.html, located in the same folder. My goal is to automatically redirect the user from index.html to main.html once the animation ...
Score of -1
1 answer
96 views
How to make Vite add react-icons to a separate .js file when executing 'npm run dev'?
I have to show icons (100+) in my React app so the used can select one which will be used on some diagram.
I was able to achieve that so my import looks like
...
import * as IconsFa from 'react-icons/...