I am making a website to modify db data. first, The structure of the component is as follows When the row component is created,creating the ref of the input component and redux manages it. Input component only receives ref as forwardRef And finally, the redux module The problem area is the delete button. When I press the button, that error
Category: Questions
Display username from login to other page
I have a simple login page (login_page.html). The farmerId (= user name) which is used for the login, should be displayed on the next page (after login), which is the farmer.html + farmer.js I tried it as followed, but the farmerId/user name is not displaying at the farmer page. ***changed to minimal reproducible example *** testlog.html testlog.js testfarmer.html testfarmer.js Does
Why does displaying text inside the document via transform: translateY(-100%) create extra white-space at bottom of page?
Put very briefly I wrote a vuejs component that includes a small icon that displays some text when being hovered over. I created a minimal example here: https://codesandbox.io/s/sweet-jackson-v0kgc?file=/src/components/ShowBox.vue:115-136 The special thing is: when the icon is at the very bottom of the page the text is displayed above the icon instead of below such that the page does not have
How to always make “this” keyword to reference the parent class (bind child methods to parent class)?
here is the simplest form of my problem: I know I can fn.bind(service1) in the mapper function to solve the problem, but as fn is dynamic, I would prefer not to do that. I have tried searching on how to get the parent class from child method but get no results. I want mapper to be able to call a
Redirect to a web page when a user clicks on the ok button of the sweet alert
I am using sweet alert (https://sweetalert2.github.io/) to pop up a success alert after a registration in this way: But I don’t know why if I use this other way the sweet alert doesn’t work: I want that if a user clicks on ok, he will be redirected to another web page, but I don’t know how to do it but
Get Values of nested Objects in Loop
I have the following goal. An array of strings that I can use to get the keys of an object that I need. My problem is, I don’t know how to get to the nested properties in my loop. My array: My object: My loop: Of course, all nested properties don’t work. But how can I access them within a
How to retrieve data in front end from res.send and create page for each element in DB dynamically
I’ve got a variable, say data containing data in the form of an Array with each item having a unique ID. I have sent the data from the server to the front-end on a GET request. But how do I create a seperate webpage for each element dynamically in the data array? where do i have to write the html
JS replace all matching id values
A website has multiple pages with imported HTML from another page with id tags that need to be simplified. It currently looks like this. There are anchor links that point to all of these ids, but these links do not include the “user-content-” part. They look like this Link to anchor. They do NOT look like this Link to anchor.
Check array for length and push or update the object within
I’m really struggling with my code and cannot find a way to make it work. I need to check whether my array exists or its length is not 0 and then if there is an object with a specific value in it. If so then update it. If not then add it. Please see my code below: Many thanks for
Discord voice messaging plugin: getUserMedia() is not supported
Error: Failed to start MediaRecorder: Failed to execute ‘getUserMedia’ on “MediaDevices”: getUserMedia is not supported. Original: https://github.com/MKSx/Send-Audio-Plugin-BetterDiscord Error on line 1026. UPD: getUserMedia() disabled in discord, alternative:https://github.com/l-Nuril-l/Voice-Messages-Plugin-BetterDiscord UPD2: The alternative is dead Code with problem: Answer Intro Basically, better discord is essentially an application running in something like a chrome browser. You can validate this by hitting CTRL+SHIFT+I. The problem