Category "javascript"

How can I make these divs inline?

I cant seem to make the elements inside this div inline. Id like the h3 to be above the form then the next h3 and form beside that. <div class="title">

WebGL Hardware Acceleration - failIfMajorPerformanceCaveat no longer working on Chrome

Previously I was able to detect whether or not the browser has Hardware Acceleration enabled, by using the failIfMajorPerformanceCaveat flag. const

SAPIU5 collapsible header - Show Filter Count

I have SAPUI5 DynamicPageHeader in Fiori app, which looks like this: It has a "collapsible" link & one filter bar is selected with value in it.. When I col

What is jsconfig.json?

If I search the same question on the Internet, then I’ll get only links to Visual Studio Code website and some blogs which implements it. I want to know t

Unsafe value used in a resource URL context (iframe)

Trying to pass value as iframe url from local db and and im getting error message: Unsafe value used in a resource URL context. i'm trying to display an array

Acrobat Javascript closeDoc - Why does this.closeDoc close not only main document but also other document?

I have tried to control adobe acrobat using Action wizard Javascript. I want to open other document(PDF) and close previous document(PDF) opened. My code works

Riot.js how to mount a precompiled Tag

How can I mount a tag that has been pre compiled to a function with riot.js/cli to iife JS version. What am I doing wrong? By getting an empty html DOM as a res

Aws4 sign S3 PUT requests

Writing specialized S3 file upload request signing function that will run on Cloudflare workers (I guess should be the same as in browsers): let s3PutSign = fu

p5js - Radial lines of different lengths not drawing correctly

I'm working on a p5js project, and drawing radial lines with different lengths. I'm using this snippet in a loop to map and draw the lines: var x1 = (this.mapR1

How to insert git info in environment variables using Vite?

How to get information from git about current branch, commit date and other when using Vite bundler?

Getting Promise Object when Calling Solidity Functions

I have a function in my smart contract where I am trying to return some data that has been stored in the blockchain, function showOrg(address org) external

How can I send data via Websocket from a VSCode extension

I would like to send data via Websocket from an VSCode extension. Is there a builtin websocket facility or should I import the package "ws" or else?

Pass Data to Service in Axios

I want to set _boundry in my header. First, I dispatch the form data: //component.js const form = new FormData(); form.append('email', '[email protected]')

How to prevent sending cookies from UI using react to backend for selective apis

In our application , there are certain cookies related to analytics etc which are being sent as part of every request api from frontend, we are not explicity se

stripe webhook with firebase showing error

it is showing Unexpected value for STRIPE_SIGNING_SECRET error even after checking it many times in the env file the terminal shows everything created but it do

Headline not showing above Canvas

I created my portfolio a few months ago and everything was working fine. After about half a year I reopened the code again and now it is not working correctly a

How to hide the legend in chart.js in a react project?

I am trying to hide the legend of my chart created with Chart.js. According to the official documentation (https://www.chartjs.org/docs/latest/configuration/leg

Warn user before leaving web page with unsaved changes

I have some pages with forms in my application. How can I secure the form in such a way that if someone navigates away or closes the browser tab, they should

Not able to change keys in JavaScipt dictionary

I am a beginner, I want to replace spaces with hyphen from keys of JavaScript dictionary and get the keys back in dictionary eg. In nameVars = {"my name is":"am

Modernize Javascript code for a dropdown menu animation

In a post related to another questiona a user suggested me to modernize the js code. Use specifically x.classList.includes(), x.classList.add(), and x.classList