Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Adding header to a PDF with VBA, Field

Adding header to a PDF with VBA, Field I have several hundred pdf files and I want to add two part header to each of them. The text is initially coming from Excel, but in this example it is a static ...
mp3lab's user avatar
  • 1
0 votes
0 answers
6 views

preview pdf from google bucket signed url

Recently I am doing an archive project in Flasks. I want to view pdf with selectable text in a webpage using iframe or similar technology. Since the pdf url is a signed url from google bucket, like ...
gu gu's user avatar
  • 1
0 votes
0 answers
5 views

In Gun.js, how can I check if the peer (relay server) is connected?

I'm trying to create a multiplayer game with Gun.js. I made some tests with 2 browsers opened at same time and noticed sometimes the changes in one window are not updating the other. So, I would like ...
Daniel Barral's user avatar
0 votes
0 answers
6 views

Next.js 15 Client and Server Side Validation With Mantine Form and Server Actions

I am using Mantine form for my UI and client side validation: https://mantine.dev/form/validation/ Here is an example of using it: import { useForm } from '@mantine/form'; import { NumberInput, ...
McFlurriez's user avatar
0 votes
2 answers
32 views

How do I find out what is causing Edge Developer Tools to be BLANK on the company ASP.NET WebForms website?

We have an old ASP.NET WebForms site that currently only runs in Microsoft Edge because of the way hundreds of links open in popup windows. It needs to be rewritten, but that is our long-term project ...
jp2code's user avatar
  • 167
0 votes
1 answer
15 views

How to build a good data structure for a react state, that allows me to easily update deeply nested array of objects?

I am trying to implement a property (real estate) chain Each chain item should know which chain item is above/below it A chain item can have its own sub-chain, and this in turn applies to its sub-...
Raffi's user avatar
  • 743
-2 votes
0 answers
18 views

ReferenceError: var is not defined in javascript for Storyline 360 [closed]

I am encountering a "ReferenceError: quiz1Option1Texts is not defined error" when trying to run a JavaScript function that sets text variables based on a slide number. Goal: My goal is to ...
Sentient Onion's user avatar
0 votes
0 answers
15 views

Font Path is invalid in font-face

I need to use specific Font in ASP.NET Core MVC Project, So, in css file: CSS: @font-face { font-family: "CustomFont"; src: url(css/Custom-VariableFont_slnt.ttf); } But I get error ...
MrMustafa022's user avatar
0 votes
1 answer
37 views

conditionally add prop to a jsx element [duplicate]

I have a react app and am trying to pass down a prop to a jsx element based on a condition. The element in question is an anchor tag and if the condition is true I would like to pass a rel="...
Yehuda's user avatar
  • 123
0 votes
0 answers
21 views

How can I record both the screen and webcam using Canvas at 1080p and 30fps?

I tried this and it worked, but the video starts lagging after 30 seconds. No matter what I do, the video records smoothly for 30 seconds and then starts lagging. Am I missing something? I'm not using ...
tedGuy's user avatar
  • 371
0 votes
0 answers
9 views

Problem with Changing Text and Background Colors in Incisor TextBox

I'm working with an Incisor TextBox and having trouble changing the colors. It seems that I cannot update the text and background colors independently. Here’s the code I’m using: class ProjectMain { ...
John's user avatar
  • 1
0 votes
1 answer
28 views

Zoomed images don't have different sizes according to JavaScript

Is there any way to get the actual size of a zoomed image via javascript? After adding a css zoom affect to the image and then getting the size via JS it returns the original size. var img = ...
Mike's user avatar
  • 627
0 votes
1 answer
15 views

Switching to node 18.18.0 using NVM, but Next complain on using different version of node (20.3.1) when starting new project

as the title mentioned, I am currently using node 18.18.0 for compatibility with next.js dependencies, i uninstalled every node version possible, and only kept one, yet on starting a new next project ...
Ghazi's user avatar
  • 794
0 votes
0 answers
27 views

What does "syntax tax" mean in respect to the TC39 pipe-operator proposal?

Reading the ECMAScript TC39 pipe-operator proposal; it mentions "syntax tax" when comparing 2 possible alternatives for the pipe-operator implementation (see https://github.com/tc39/proposal-...
justaprogrammer2's user avatar
-4 votes
0 answers
21 views

change tile to light green after mower runs over it (JavaScript game) [closed]

I am making an incremental lawn mowing web game. I need help making the grass turn light green right after the mower goes over it. script.js main GitHub repo
Hankypoo7's user avatar
0 votes
1 answer
55 views

Is there a way to prevent a client side JS injection into my website? [closed]

I have my website, which my school has recently blocked. I found how to get around it by deleting the filter agents functions and variables (That are injected in JS) before my website loads. However, ...
DVT's user avatar
  • 33
0 votes
0 answers
24 views

Hover Effects are treated as click effects, but they work properly after resizing page

They were working before, but I was trying to add react based page linking and that seemed to have broken the hover effects and now I cannot get them to function properly again. They do the correct ...
mmkranz7's user avatar
  • 139
0 votes
0 answers
7 views

React Error: "React.createElement: type is invalid" when using GluestackUI and Select Component

I am encountering the following error when running my React Native app: ERROR Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for ...
Mediator's user avatar
  • 15.3k
1 vote
0 answers
16 views

Axios returns 403 on API call but okhttp3 (java) works fine

I know that this question might be already answered, but I checked related questions, tried the solutions but could not get it to work. Here is the issue: Goal Get JSON response from the following API:...
Yannic Tham's user avatar
0 votes
0 answers
24 views

how not to write routes for express node js application

I'm working on a Node.js/Express application, and as the project grows, I'm starting to run into issues with managing and registering routes in a centralized app.js file. Here's how I've structured my ...
vin vin 's user avatar
0 votes
0 answers
11 views

Why does AsyncStorage.getItem throw Cannot read property 'getItem' of undefined in a React Native app when used via a shared npm package?

I'm building a modular system consisting of multiple npm packages for React and React Native projects. Here's the setup: replyke-core: Contains shared logic for React and React Native. Includes a ...
Tsabary's user avatar
  • 3,850
0 votes
0 answers
17 views

VS Code view js console output when browser dev tools is disabled?

Background: I teach basic web development in a high school. Our technology department has disabled developer tools on all web browsers for student accounts after a recent cyber attack. I need a ...
Rubicon Bezique's user avatar
-2 votes
0 answers
21 views

cors error and no separate backend server code [duplicate]

I do not have a separate server code and I keep getting a cors error. I have the below code: muggle_process.js file: let url = "https://favqs.com/api/qotd"; let saveButtonElement = document....
qqq's user avatar
  • 912
0 votes
1 answer
47 views

How can I determine if a respondent's email address is unique in a list?

Overview: A Google Sheets file is linked to 3 Google Forms. After a form is submitted, the responses are added to the coinciding Dummy spreadsheet tabs: Form Responses 1 Form Responses 2 Form ...
Jarvis Davis's user avatar
0 votes
0 answers
32 views

Uncaught ReferenceError: Function is not defined at HTMLButtonElement.onclick

I have one issue. I have function add() on buttons with number parameter. So when I click button in console there error Uncaught ReferenceError: add is not defined at HTMLButtonElement.onclick This ...
ILoveWalking Walking's user avatar
1 vote
1 answer
26 views

How to correctly type useTemplateRefsList in a recursive component in Vue 3?

I'm working on a recursive Vue 3 component using the Composition API and the useTemplateRefsList function from @vueuse/core. My goal is to collect references to each instance of the recursive ...
Vins's user avatar
  • 143
0 votes
0 answers
11 views

Firebase Functions - Missing events logging after third request

Currently we have a Firebase function responsible to listen for ‘xyz_event’. When this event is sent from both Android/IOS, after the third submission we are still able to see the events (4th, 5th…) , ...
Leandro Raveli's user avatar
-4 votes
0 answers
21 views

How can I efficiently debounce a search input with async calls in JavaScript? [closed]

I'm building a search feature in a web application using vanilla JavaScript, where users type in a search query, and the app sends an asynchronous API request after a delay, to avoid excessive calls ...
Harini Ramkarthik's user avatar
0 votes
0 answers
11 views

Not able to get proper Data in the excel file created using ExcelJS package in NodeJS

so i trying to create a xlx file from the input and upload it to S3 bucket so when i pass large data say 1000 rows I could see that only column headers are created in the file not the data but still ...
adkdbsaa's user avatar
0 votes
2 answers
53 views

JavaScript error: on button element, click is not a function?

I'm having issues with JavaScript not detecting the click event on a button. Here is my HTML code: <input type="button" value="Upload" id="...
Steve G.'s user avatar
  • 409
-5 votes
0 answers
35 views

Why my php script doesn't process javascript script on localhost? [closed]

I have a php scrip which works fine, but for whatever reason it doesn't process my javascript scripts. I tried to link it with the src attribute , it doesn't work. I tried to require it with php ...
S S drest's user avatar
0 votes
0 answers
34 views

Why is my setInterval for a carousel not working?

I've been trying to make my carousel work with arrows manually and for it to automatically slide as well but the automatic slide part isn't working. The arrows work fine im not sure if they're the ...
jones davis's user avatar
0 votes
0 answers
17 views

Error "c.g is not a function" grpc-web , how to fix?

I write in JS and use GRPC. When sending to server the Wp category , I get the error "c.g is not a function". I tried to regenerate just a file, rechecked it many times, and I sent the ...
EugeneZZF's user avatar
0 votes
1 answer
7 views

How to setup UForm and UFormGroup in NuxtUI such that errors apply for nested dynamic form?

I have a form like the following example: <template> <div> <h1>Training Form</h1> </div> <UForm :state="state" :schema="schema" @submit=&...
Adharsh M's user avatar
  • 3,742
0 votes
0 answers
14 views

Selection is changed without throwing the selectionchange event inside nested contenteditable

I am writing some sort of editor, where only parts are editable. By clicking behind the row, the caret should be placed at the end of the row for some user input. In FF this works, in chrome it works ...
Basti's user avatar
  • 732
-2 votes
0 answers
14 views

I am unable get label tag value which created in php using javascript click event listener [duplicate]

I am making CMS core php project. Having javascript issue, unable to access lable tag(id - date) value using click event listener and add to input tag with id post-id. How to add date to my input text?...
rnbhangare555's user avatar
-1 votes
0 answers
10 views

Problems with AR start coordinates

When starting the AR session, the origin point of the world is set to the location where the quest glasses were placed, instead of the point where the session was started. I am using three libraries ...
Ruben Prieto's user avatar
0 votes
0 answers
10 views

WebSocket notifications not working with deployed Render URL but working locally

I am experiencing issues with WebSocket in my code. When using the deployed URL from Render (https://polis-backend-test.onrender.com), I do not receive notifications on the frontend. However, when ...
Favour Samson's user avatar
0 votes
0 answers
14 views

Nesting a drop down inside a section in a dynamic javascript form

I'm trying to use a drop down next to a simple number input within a section on a dynamic web page form. I am able to create a new section with a button, and I can use normal text or number fields ...
user23510612's user avatar
0 votes
1 answer
31 views

Stripe not showing paymentDetails in production. Using NextJS

I've already tested my application using Sandbox credentials, both publishable key and secret.I'm now trying to enable stripe in production mode. The issue In my ui when I change the publishable key ...
ogdabou's user avatar
  • 592
0 votes
0 answers
12 views

Cookie http-only is not stored on browswer when it's received as a set-cookie header from the backend (Backend: Symfony, Frontend: NextJS)

I have two projects, both of them using Docker in local environment: frontend is https://domain.test:3000 and backend is https://domain.test(:443) Backend has an API made with ApiPlatform, Lexik JWT ...
cvegabon's user avatar
0 votes
0 answers
16 views

How to display beforeunload as alert box instead of a warning to leave page [duplicate]

I am trying to stop users from moving onto next page unless they click on a checkbox. I have used beforeunload to trigger the "do you want to leave the site". However, I would rather get rid ...
JohnLyons's user avatar
-7 votes
0 answers
31 views

Timestamp '2024-11-06T22:09:46Z UTC' regex [closed]

I need to detect this date and time format in javascript: '2024-11-06T22:09:46Z UTC' I've tried chat gpt and it's not giving me good answer, help.
Stevan Andric's user avatar
0 votes
2 answers
43 views

Hiding image parent div

I am setting up a Bootstrap carousel. I wrote the HTML for 20 images, and the number of images changes weekly. The image names are Pic001, Pic002, etc. How do I hide the image's parent div that has an ...
Hammy's user avatar
  • 13
2 votes
3 answers
73 views

Uncaught Exception, even with Try Catch

After searching on SO, I could not find an answer to this problem. All of the questions I saw, the error was still being caught. I'm having the inverse problem. No matter how I refactor the following ...
Levi Roberts's user avatar
  • 1,317
-7 votes
0 answers
43 views

Need help understanding JavaScript LeetCode solution logic [closed]

For the LeetCode problem 3146. Permutation Difference between Two Strings the user SGallivan submitted a very interesting solution on a comment This is the code: var findPermutationDifference = ...
user5507535's user avatar
  • 1,766
0 votes
2 answers
55 views

How to open dropdown menu from outside button

Opening bootstrap dropdown menu from button inside table using function xonclick() { const dropdownButton = document.getElementById('settingsDropDown'); const dropdownMenu = document....
Andrus's user avatar
  • 27.6k
0 votes
3 answers
59 views

how to remove <script> from the page before it loads it contents

I have a page hosted on a server which injects small portion of script to my index.html page and would like to remove this script before it runs. Simplified example looks like this <!doctype html&...
fascynacja's user avatar
  • 2,684
-1 votes
0 answers
36 views

How to transform a large base 36 number into a base 10 number [closed]

In JavaScript I want to transform a string s representing a large base 10 number into a string s36 representing the same number but in base 36. The procedure seems to be the following: const s = '...
Terr Lacont's user avatar
0 votes
0 answers
12 views

Loom SDK: How to configure camera-only recording mode?

I'm trying to implement camera-only recording using the Loom SDK (version 2.2.0), but I'm having trouble getting it to work. I want to restrict the recording to webcam only, without screen sharing. ...
Alex Choroshin's user avatar

1
2 3 4 5
50662