Questions tagged [javascript]

JavaScript (not to be confused with Java) is a high-level, dynamic, multi-paradigm, object-oriented, prototype-based, weakly-typed, and interpreted language used for both client-side and server-side scripting. Its primary use is in the rendering and manipulation of web pages. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script).

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Set Presence Command for Discord.js-Commando

So I have this command that sets the bot's "Playing" status: const commando = require('discord.js-commando'); const { RichEmbed } = require('discord.js'); class sets extends commando.Command { ...
-5
votes
0answers
16 views

How to read a fingerprint from user to a web application and send to server?

I have a web based protocol system (JavaScript frontend and backend LAMP). It basically controls the sending and receiving of documents. Currently, when someone physically withdraws a document, he / ...
0
votes
0answers
12 views

cancelAnimationFrame after timeout

Id like a requestAnimationFrame based animation loop, stopping after x ms. I tried to implement this via a setTimeout that removes the cb after x. However, since setTimeout is about the last thing ...
-2
votes
2answers
15 views

What does Unexpected token, expected ; mean in ReactJS?

Need assisting working on Navigation Menu for mobile and table but getting an error message. What does this mean when you get an error message like this? How do I fix it if run into again Line 20:...
-1
votes
0answers
11 views

Using electron, how to take HTML input and use it to create a python variable?

I have a HTML based GUI with multiple forms and buttons. When a user types something into the input field and clicks the submit button, it should update a python variable in a python script. Below is ...
-1
votes
0answers
8 views

how to add external player in exoplayer?. exemple in screen

I want to add external players like in the image, does anyone have a tutorial or something? if anyone can help me I will be very grateful. sorry for my bad english. https://i.stack.imgur.com/GKmae....
-4
votes
2answers
25 views

How to change value on specific url? [closed]

as i said in the Title I need Help To put this Value Work only on a Specfic Url $('#phone').val("000000"); is there a way to do that on Js/Jquery What i mean : $('#phone').val("00000000");Url (...
0
votes
0answers
10 views

Connect4 with MiniMax Algorithm in P5.js

I have been trying to learn Minimax algorithm and made a successful unbeatable Tic-Tac-Toe AI in p5.js, but decided to take it a step further and instead create Connect4. I've been doing quite well so ...
0
votes
1answer
15 views

Long Press for the react native

React Native long-press button doesn't trigger on the first press. It only gets triggered if pressed for the second time. The setup: const [isOpen, setIsOpen] = useState(false) const [...
0
votes
0answers
10 views

async controller function angular

I am having an issue with race conditions inside of my angular app. I figure I can solve this by awaiting the get request whose response the second get request depends upon. That being said I have ...
-2
votes
0answers
19 views

I get an error on first boot for javascript localstorage function [closed]

I want to display the last div that was active when the page was refreshed but two div opens at first boot, can you help me fix it sample in error jsfiddle.net/z4vpfb62/
0
votes
1answer
27 views

Iterate through an array of objects with deep nested objects and arrays

I've a JSON array which is generated from a Collection > Folder/Request > Request structure. Sample: [ { "name": "My Collection", "folders": [ { "name": "bdg", "...
0
votes
0answers
19 views

Cannot Update Bootstrap Modal Forms

I have a CRUD reminder app, and when users right click on a reminder, a context menu pops up. Options include edit, delete, etc. Each reminder has an id, and the context menu button updates based on ...
0
votes
0answers
12 views

Change the color of the source code text in CKEditor?

I would like to change the text color of the source code. I do not know why at home it is clear on a white background so not very visible ... thank you in advance
0
votes
0answers
14 views

How does Loom's Chrome Extension Screenshare & Record Video simultaneously

I am working on a project right now that allows users to record their screen and their webcam at the same time. The UX is very similar to Loom and as of now I am just using https://github.com/muaz-...

15 30 50 per page