Category "javascript"

Reload on click of a button without onclick attribute

I'm building a website on softr.io. It's a no-code builder to create a frontend for airtable data. I would like to refresh a page on the click of a specific but

VSCode: How to use Chromium for debugging on local files (extension: Debugger for Chrome )

My goal is to properly set launch.json file to run some *.html in Chromium. For example: This is my project folder structure: project/ ├─ some_folde

I want a way to give path to my files which are outside of public folder in laravel

suppose <link rel="stylesheet" href="{{asset('css/style.css')}}"> helps to get style.css file which is in public folder but similarly how can I access f

My project display only my homepage without any buttons and other pages

while making this school project i finish the code and make everything right, at least that's what i thought. I'll put here my app.js and bin section, so if any

button form for header sticky by javascript html laravel

There are two buttons on that blades (Laravel). The button (.btn-main) works in the main, but the button (.btn-header) in the header does not work. I mean when

Nuxt Error : Cannot read properties of null (reading 'addEventListener') default.vue and index.vue not rendering

I'm using nuxt.js and vuesax as an UI framework, I did modify my default.vue in /layouts with a basic navbar template exemple from vuesax. Then I used @nuxtjs/r

Fetch error when building Next.js static website in production

I don't understand these errors when I export as production npm run build , but when I test npm run dev it works just fine. I use getStaticProps and getStaticPa

Prevent parent been clickable while child clicked -not bubbeling issue [duplicate]

I have a grandfather div which is contain 200 "father" divs (and 200 child1 and 200 child2). I want to target "child2" element while clicking

AngularJs form validation not working with ng-show

I am struggling with ng-show and $invalid logic, my requirement is very simple I need to make a form that will show input fields based on conditions. I need to

Electron - Uncaught TypeError: Cannot read properties of undefined (reading 'showOpenDialog')

I'm trying to open the dialog on electron, but I'm getting this error: Uncaught TypeError: Cannot read properties of undefined (reading 'showOpenDialog') I've

React JS odd Error on 'npm start' Failed to parse source map

My Error: WARNING in ./node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed

I can't seem to pass an array of objects as prop (console logs 1 object, [object object] instead)

I am new to React js and I am trying to pass my data(dummy_data) as props from App.js to PieChart.js so that I can access the data from PieChart.js. dummy_data

How to use multiple Curve's Stroke style at The Same Time - ApexChart

I got a problem while using ApexChart and struggling so much on how do I could remove the one that I give 'X'? So basically, what I want to achieve is like the

Open link in safari instead of the native app

I am trying to open a link when a user clicks a button, using window.open() on button click. Currently this works as expected in Android browsers, but on IOS it

Attach screen video on allure-playwright-reporter

Is there a way to have screen recording of each test in allure-playwright-reporter. I am able to capture screenshots for each test but also wish to have screen

overflow-anchor doesn't work for horizontal scrolling

I would like to build an infinite horizontal scroll that scrolls in both directions - left and right. As user scrolls to the left, new content is prepended to t

Firebase `onAuthStateChanged` always return null user

This is my index.html: <!DOCTYPE html> <html lang="en-US"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <

How can I get data from tiled map editor to my javascript file?

I have a JavaScript game, using the Phaser 2 framework, and I am trying to add a new map to my game. So I made a scene in Tiled map editor so I can export to my

Nodemon - specifying extension watch list using config files

Is there a way to specify watch list using config files instead of command line? Command line method in nodemon's doc: I attempted to use a nodemon.json config

Most efficient way of showing or calling repeat/duplicate HTML?

I have five div elements containing the same six images. Only one div is shown at a time (others are display:none) but all are on the same page. Basic example: