Category "javascript"

Material UI Lab v5: How to style DateRangePicker calendar?

I'm using the DateRangePicker component from @mui/lab (v5.0.0-alpha.62) and I want to add a border around the calendar to make it stand out more from the backgr

Accessing nested array of documents containing collections with Firebase v9

I am trying to retrieve the resultant array of collections that has documents mapping to their respective collections in firebase v9. For example, I have this w

React is not defined when using SystemJS

I was trying using SystemJS to load React but it didn't loaded instead throwing an error message in Console > 'React is not defined' I've read their documen

Why I'm getting an empty access token from azure b2c using vuejs 3

I'm using the last version of MSAL.js (@azure/msal-browser": "^2.23.0"),I can successfully authnenticat but the access token is empty I dont know why. I'm posti

How to make php function according to the drop down menu list selection without a button

Hello I am working with php and I have this drop down menu list code: <form method="POST" > <select name="users" id="users"> <option

How to fix this HtmlUnit test giving errors

I have a HtmlUnit test on the attached code. When I run the code I get the following error:

Adding a payload to createAction function using reduxjs/toolkit

How do i add a payload to createAction from the now function? convert from this: import { ADD_ARTICLE } from "../constants/actions-type" import { createAction }

my three.js scene is not rendering. not sure why

my main.js file contains :- import './style.css'; import * as THREE from 'three'; //create scene const scene = new THREE.Scene(); //arguments - field of view

Firestore rules: Property is undefined on object. for 'list' @ L6

I am having an issue where I am trying to query a subquery by a field, and I have tried the emulator as well as firebase support (still on going, but not soluti

Create a new array of boolean values by comparing two arrays with objects

I have a question about creating JavaScript arrays. Here's what I want to do. I have two arrays. Each array has object(s) in them. The first array has exactly 5

How Do I Modify an EXTjs app to be 508 Compliant?

I have recently inherited a web app using the EXTjs framework. I'm not really that familiar with it, but I have been learning it the best I can over the last f

HTML input set type from value

Is there any known way of getting the input tag type by checking the default value set for that input? i.e. if the input default value is set to true or false t

TypeError: can't assign to property "_canInitEmulator" on "[email protected]": not an object

i am using Firebase but when I try to make a reset pass word link this error ocour's . What is the reason behind it and how can I solve this error. I have tried

Trying to separate sql DB values from each other

function absent() { const absent_date = new Date(); const absent_days = absent_date.getDay(); console.log("days", absent_days); let absent_remo

Uncaught TypeError: Failed to construct 'URL': Invalid URL in chrome extension v3 when using messages

Here is a minimal extension for chrome in v3: manifest.json { "manifest_version": 3, "name": "Test", "version": "1.0", "description": "Test extension",

MouseDown Event is not working on other computers

I have a problem with a mousedown event that is so weird for me. I'm at intermediate level but I have a beginner problem. I'm making a game in which a player ca

FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app) - when using sinon

I have a NodeJS application and I'm trying to write some tests. Currently, I'm trying to stub Firebase. Current code: sinon.stub(firebase, 'initializeApp'); con

Unrecognized option 'stimeout'

Unrecognized option 'stimeout', is popping up when i'm using the command: ffmpeg -re -rtsp_transport tcp -y -stimeout 1000000 -i "rtsp://admin:[email protected]

Firebase as socket io [duplicate]

I want to use firebase but i want that i will get realtime users on the app. But not getting how to get it as i found this is the firestore DB

sidebar menu with dropdown in react js

i am trying to create a sidebar with drop down like this example in react js https://www.w3schools.com/howto/howto_js_dropdown_sidenav.asp i was able to design