2,523,128 questions
1
vote
0
answers
38
views
Cascading callback in JQuery AJAX call not working [closed]
I have three selects that I am trying to populate that have relationships between them. To reduce duplicating code, I created a single function that I thought I could use multiple times (see below). ...
-1
votes
0
answers
34
views
Cookie Receiving Bug
This is my Middleware for cheking token am getting cookie in browser but still Problematic what can be the issue anyone know about this bug
import type { NextFunction, Request, Response } from "...
0
votes
1
answer
74
views
In a php program, I include some echo "javascript code..." but it doesn't execute
This is the end of the program. It downloads either a PDF file or an ePUB file.
This part works very well. But the alert doesn't show up and the redirection doesn't occur. What is wrong ?
The code :
&...
-1
votes
0
answers
43
views
How do I trigger payment failures/errors from Cybersource Universal Checkout checkout.mount()
We're implementing a payment page using Universal Checkout api v1. The integration is working. We can successfully post payments and display success messages on our page. I would like to test look ...
-3
votes
0
answers
64
views
Is Array.prototype.reduce more efficient than Math.sumPrecise for summing an array of integers?
The classical way for summing an array of numbers in JS is arr.reduce((a, b) => a + b).
In 2026, Math.sumPrecise() was added to the specification to enable summing a list of floating-point numbers ...
-1
votes
0
answers
63
views
How to make anchor links clickable in a WordPress post title [closed]
I have a WordPress website where I only have the Editor role, not Administrator access. This means I can create and edit articles, and I can add Custom HTML blocks inside articles.
I want to make an ...
Tooling
0
votes
2
replies
80
views
`uv run` for `node script.js`?
I always run my Python scripts this way, as I usually need to run small snippets of code for various tools: (https://docs.astral.sh/uv/guides/scripts/#using-a-shebang-to-create-an-executable-file)
#!/...
-8
votes
0
answers
103
views
How to Implement Image Lazy Loading with Intersection Observer in Vanilla JavaScript [closed]
I am using the Intersection Observer API to lazy load images on a page.
Code:
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry....
Best practices
0
votes
1
replies
32
views
Best Practices for Testing Aadhaar OTP Verification in Automation Frameworks
We are developing automation test coverage for a finance-based application that includes Aadhaar verification as part of the customer onboarding and identity validation process. The application ...
Tooling
2
votes
10
replies
151
views
Are there Alternatives to Bun that weren't written with AI assistance?
I'm philosophically anti AI, and recently found out that Bun was rewritten with AI. I don't want to use any tool that was written with AI assistance.
I have been using Bun for a CLI that reads and ...
-2
votes
0
answers
75
views
SoundTouch X Web Audio API: FormantCorrectionNode functionality
const processorUrl = '/formant-correction-processor.js';
import { FormantCorrectionNode } from '@soundtouchjs/formant-correction-worklet';
const audioCtx = new AudioContext();
await ...
Best practices
0
votes
5
replies
110
views
JavaScript ES6 or JavaScript ES14?
I was wondering whether JavaScript ES6 (published in 2015) is still relevant for 2026, especially if ES14 was released recently. I am working through a JavaScript course that highlights a few ES6 ...
1
vote
0
answers
107
views
Remove YouTube pause button
I have an autoplaying YouTube video that I have embedded via the API. When the page loads it shows the youtube pause icon for a few seconds and then it hides itself. This is the case even if I leave ...
0
votes
0
answers
47
views
Can I add JSDoc to nx packages without creating a circular dependency?
I have an nx workspace, and I want to add documentation so that I can link to different components in my workspace. This causes a circular dependency as I need to import the type and therefore add it ...
1
vote
1
answer
52
views
Custom menu item active class is not being removed and added to new item when selecting new item in Joomla 6.1.1
I have a custom drop-down mod_menu override on a custom template designed around the time of J4 that works perfectly fine on sites that have been subsequently upgraded in stages to 6.1.1. The mod_menu ...