Category "javascript"

How do I center the content the same as the header and footer?

This is what it currently looks like: How can I automatically center the content which is currently has a green color border? The problem here is that it will

How to store a user-filled HTML table in local storage and then display it in a different results HTML page?

Summary of my program: Users fill out a HTML table (I'm not having problems with this step) in table.HTML page HTML table is stored in localStorage (using .SET

Request had insufficient authentication scopes. & ACCESS_TOKEN_SCOPE_INSUFFICIENT

Here is error showing in network Here is javascript code I had already tried all possibility but no work for me. { "error": { "code": 403, "message"

How to Minify/Un-minify and Obfuscate Custom build Jira plugin UI code?

We are building a custom build Jira Plugin where we have JavaScript files, velocity template files and css files. We have to Minify and Obfuscate the UI code to

How do I make the user go to a new page (with the post description) when an individual post is clicked?

example posts on my site I have a list of posts on my homepage, and when a user clicks on it, I want to show the detailed post (on a new page). I am not looking

react and react-dom not working, please help out

I do not know why react and react-dom isn't working with my code. you can see the color of the react and react-dom text isn't even bright/clear what can be the

html5-qrcode Reverse Camera Scanner Video

I am using a JavaScript library for scanning QR Code namely html5-qrcode (https://github.com/mebjas/html5-qrcode). By using it, I can scan QR Code directly from

The forEach is undefined in a Javascript Class Method

I are have a problem into my code. After many attempts in search for solutions I decided to get help from the stackoverflow community I have created a Javascrip

Problem of instance v-show - Nuxt js menu

I am trying to do a simple menu for mobile, but I didn't solve a problem of instance of vue My component nuxt Menu : <template> <header id="menu" c

Fetch and display uncompressed pixel values in web browser

Suppose I have get json data like this from an HTTP server: { "width":1234, "height":356, "channels":"rgba", "sample_type":"uint8", "in

How can I obtain an object with the values as keys and vice versa - and with duplicate values stored in an array?

1. My task In the object, how can I get an array in which the corresponding keys are stored if there are duplicate values in the input object? const object5 = {

Get function inside default export function

I have function inside user.js with default export like this export default { var getListFriends = async (accessToken) =>{ } ....other function ret

Why my customize cursor keep blinking in react

I have problem with my customize cursor and this has been in a month but now I created it again and still wasn't solve it still. I'll direct how it will works.

Is the function binded to the button always executed or did I make a mistake?

So I have this PHP page, with at the start some unimportant stuff and a session opening : <?php session_start(); ?> I want the disconnect button to a

How do I manipulate data based on another data in Redux Toolkit (React)?

const { data, isLoading } = useGetDataQuery({ skip: !dependency } ); const { data2, isLoading2 } = useGetData2Query({ skip: !data } ); const { data3, isLoadin

How can I show tooltip info for 4 seconds on page load and then hide, then after show on hover?

I am using react-bootstrap version 0.32.4, I can't update the version, that will bring up many changes. I want to have a tooltip info showing for 4 seconds on p

JS Change the cursor for an image stored in a variable

Is it possible to change the cursor with a customized image stored in a variable? I have tried setAttribute or .style.cursor, but it does not seems to work.. He

How to upload images on node js?

I am having issues getting any image data on the form in the ejs file after submitting. Upon debugging, there is a req.body.image which has the filename but req

Stop function from functioning

So I'm modifying a webpage, it has a button, it is coded so mouseup goes to a link, I want to change this, adding mouseup functions don't work; mousedown works

how to reset input fild without empty string in react.js

How can I reset the input field if I use it this way? const [email, setEmail] = useState({ email: "", emailError: "" }); const handleEmail = (inputEmail