2,522,615 questions
Score of 0
0 answers
42 views
Flowing ideas across a page
I want to make a board and inside the board will be different texts flowing across a page with a floating animation, but the "texts" keep overlapping each other. My original idea was that ...
Score of -4
0 answers
52 views
How can I accurately convert Bangla Unicode text to Bijoy encoding using JavaScript? [closed]
I'm developing a browser-based Bangla Unicode ↔ Bijoy converter in JavaScript.
The application correctly converts most Bangla characters, but I'm facing issues with complex conjunct letters, vowel ...
Score of -7
0 answers
44 views
How to run a PHP JS Query? [duplicate]
I got this code, and wondering. After this stringify:ing, I'm wondering how to directly (in JS) insert a PHP INSERT INTO-query??
function register() {
JSON.stringify({username})
JSON.stringify({...
Score of 0
1 answer
54 views
How to preserve interim filename extensions when specifying `output.filename` in Webpack?
Assume that a source file (not necessary a JavaScript file - it may the TypeScript, CoffeScript or anything that Webpack loaders can handle) has multiple filename extensions, for instance "...
Score of -3
0 answers
60 views
React sourcemap warns it can't find components in nested directories [closed]
I have a React v17.0.1 application with the following directory structure:
src/
appName/
pages/
MainComponent/
common/
category/
index.ts
...
Score of -1
1 answer
66 views
Probable solution for A2UI React normalized cards rendering issue [closed]
I was having issues with rendering LLM generated A2UI cards on my react frontend with TailwindCSS.
I initially tried the official A2UI npm package, but constantly getting hit with zod errors such as ...
Score of 1
1 answer
77 views
File path not being returned on listing of files in my local server but is returned on live site
This is related to the question at How to get a list of the filenames in a folder?
I have code to get a list of files in a folder like:
const xhr = new window.XMLHttpRequest();
xhr.open("...
Score of 0
0 answers
65 views
How can I make the docs js library draw a border when I move a table? [closed]
I'm using the docx library. There's a row with cells without bottom borders. I've marked them in yellow for convenience. When I move to the next page, the library should draw borders at the bottom of ...
Score of -1
1 answer
91 views
Import a JSON file to JS code, compatible with old and current browsers
To import a JSON file into JS we were previously supposed to use the assert keyword:
import people from './people.json' assert { type: 'json'};
With the 2023-03 update of the proposal assert was ...
Score of -4
0 answers
106 views
javascript importing with absolute path [closed]
i have a problem where i built a django project with around 25 files of javascript that import from each other and every thing is fine but when i tried to add new file it does not work with the import,...
Score of 1
2 answers
165 views
How can I get an HTML element to react to :hover at a z-index under 0? [closed]
I have been trying to get my animated dropdowns to stay down when hovered but also have them go behind the header for aesthetic purposes. However, every time that I change the z-index of the mega ...
Score of -1
1 answer
89 views
FCM getToken() fails with 401 Unauthorized on fcmregistrations.googleapis.com (messaging/token-subscribe-failed) [closed]
Every call to getMessaging() + getToken() in my web app fails with a 401, even though every client-side and console-level setting I can find checks out correctly.
Client error:
Messaging: A problem ...
Score of -2
0 answers
69 views
Express + Multer returns "Multipart: Boundary not found" when uploading FormData from React Axios [duplicate]
I'm trying to upload a course from a React application using Axios and FormData.
My backend is Express + Multer.
The request reaches the server, but Multer throws:
Error: Multipart: Boundary not found
...
Best practices
0
votes
6
replies
76
views
How do I place this code within description of XMLs' description
I have this XML AJAX code, and wondering how to place it within the element description of rss.xml-document?
function loadDoc() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = ...
Score of 0
0 answers
118 views
React Hook Form validation across multiple tabs: is useWatch + custom validation the right approach?
I am working on a React application where a single form is divided across multiple tabs. The form is managed using React Hook Form, while each tab contains a separate group of fields.
The issue is ...