2,521,765 questions
Score of 0
1 answer
50 views
Compiling and parsing After Effects JavaScript code
I am asking this simply to know if it is possible to write all the standard functions and operations in After Effects using JavaScript and execute them—specifically, whether tasks usually performed ...
Score of 0
2 answers
61 views
Is there any legitimate use case for JavaScript encodeURI()? [duplicate]
Please don't direct me to the millions of existing posts explaining the difference between encodeURI and encodeURIComponent. I understand exactly what both functions do.
Existing sources say that you ...
Score of -1
1 answer
29 views
The React state returns null when console logging [duplicate]
This is a react dictionary project which should return meaning of the word. I have stored the response inside react state named setData. When i console log data it returns null.
import { useState } ...
Score of -2
3 answers
113 views
ReactJS (19.2) Server "LEFT JOIN" get all Results from 2. Table in first Query?
I write a Picture Site with NodeJS and ReactJS. I have 2 Nodes. First Server, second Client. On the server, I retrieve the information from the database via the client. Lately, I’ve been having a bit ...
Score of -7
0 answers
81 views
Print character that appear more then Once? [duplicate]
I just start javascript couple of days ago and i am encountering an logical error:
let text = 'hii my name is javascript and i am programming langauge which make website interactive';
let ...
Score of 0
0 answers
78 views
About sprite-flex-js issues [closed]
I'm a beginner of sprite-flex-js (Apache Royale). Right now the issue I meet is: FlashDevelop IDE has recognized a thirdpart class Stats, but when building it, the compiler shows a error: Call to a ...
Score of 0
0 answers
151 views
Rendering problem on Apple MacBook M4 Pro only? [closed]
It would be great if anyone could help confirm this error, which I so far have only seen on my Macbook M4 Pro. Is it just on my laptop or can others confirm it, too?
Problem illustration: Black areas ...
Score of 2
2 answers
119 views
React client doesn't catch the socket.on() signal from the server using setInterval
So I'm building a desktop game using electron and react currently. Now, on my server I have a code that basically does 2 things when the start game button on the client is pressed
start the game for ...
Score of 1
1 answer
193 views
Laravel optional route parameter not reaching the function when Axios sends an empty value
I have a Laravel route with an optional {barcode?} parameter. I want the barcodeSearch() controller method to be called even when the user clicks the search button without entering a barcode.
Route
...
Score of 0
1 answer
156 views
string() function doesn't work in document.evaluate
document.evaluate("string(//@id)", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null)
Using JavaScript, the above snippet throws a TypeError even though string() is a real XPath function. ...
Score of -5
0 answers
120 views
Pass Websocket from server side to client side [closed]
I want to create a new connection within Node separate from the JavaScript client and return it to the client, something like this:
Server-side Node:
serverWs.on('message', (message) => {
let ...
Score of 1
3 answers
211 views
Get the playPause function to switch icons in the browser
I'm using fontawesome and all the icons show up just fine but the playPause function won't switch between the two icons, I have the HTML set up like this,
// mplayer.js
let progress = document....
Score of 1
0 answers
74 views
Can pnpm be configured so I can optionally run with a 'cutting edge dependency' while I'm working on a branch?
I'm using a dev dependency in my project that is released as a binary before it gets published as an npm package.
The latest version has a feature I requested, and I want to develop with it now, so I ...
Score of -1
0 answers
157 views
Add joint limits in matterjs
I tried adding joints and disabling and enabling them back and forth but they still seem to wobble sideways instead of vertically like an actual car.
I kind of liked these set of joints I attached but ...
Score of -2
2 answers
145 views
How do I trigger a dialog Form by clicking a table row?
I was showing a list of person with Table from Shadcn UI. My goal is to show a Dialog form with the info of the person indicated in the row. So I iterated the rows and added an onclick trigger that ...