Hello, my goal is to simulate keyboard presses in JavaScript and to send them at regular intervals in the text input of an instant messaging application.
However, not being a professional of JavaScript, I face several problems in my program below :
1) Being sure that the keystroke...
Announcement
Collapse
No announcement yet.
Search Result
Collapse
500 results in 1.4590 seconds.
Keywords
Members
Tags
-
Keypress function
-
google sheets
hi basically i have created a database in sheets
but thing is i do not know where i am going wrong
i put all the info in and save but the persons name seems to keep going into the email section
and not the first name section
the search won't for some reason work? here's...
-
localStorage Remember last tab state
Hello- How do you use localStoarge / pure JS to remeber last tab state in this example please, I want to ave last tab state if user refreshes page on visits another page and returns to the page etc etc
Code:<html> <head> <meta charset="utf-8">
-
Compare two algorithms on JSBEN.CH
Hello everyone,
I am creating search algorithms with recipes and I would like to compare my 2 algorithms on JSBEN.CH .
The problem is that I can’t compare them correctly on JSBEN.CH , I can’t have a significant difference between the two algorithms when there should be one....
-
Question Circular CTA Carousel Animation Issues - Web Animation API
All,
I'm developing a circular carousel of CTA cards that uses JavaScript to control the animation.
The carousel animates correctly for the first left or right card click. Afterwards, the grid containing the individual cards does not rotate to the correct new position. This...
-
Why the video of my lightbox is not working ?
Hello,
I have a problem with my lightbox, when I click on an image everything is working except the video. When I console.log my const named "mediaDom", the video has an img tag and it can't find the video, in other words it's undefined. And if I add the code in comment it is...
-
Div container rotation on top of video playing in background
Hi,
This might maybe require javascript if its easier:
I dont really know what to call this so I cant really type it into google search to get what I am looking for, so therefor want to describe it and
maybe one of you amazing people could help me out with this..
So...
-
integrating button toggles with text area input
This is a follow up question to one I posted earlier this week trying to understand the concept of activating toggle buttons and linking them to functions here.
As I understand them, the rules for writing good code are:
1) Don't repeat yourself
2) Each function should do only...
-
understanding template literals
I am trying to write code that takes json data property values and inputs them into a dynamic HTML document that changes as js functions select different data from the json and then spits out fresh updated HTML code. After much searching, I came across the concept of js template literals, which seem...
-
Logo and menu disappear/appear on scroll, but on x-axis
So I have logo on left and nav on right.
My wish is that, on scroll, I want logo and nav to disappear and appear from seperate direction. Logo disappear/appear from the left side, and the menu to disappear/appear from the right, instead on disappearing/appearing from the top that almost all tutorials...
-
Using aria and event listeners to toggle buttons
I am trying to set up JS event-based query functions for an HTML/CSS button GUI using javascript, aria, and event listeners. However, I am somewhat new to all three. I would eventually like to write several functions to direct different button classes to do different things, perhaps even a simple state...
-
Javascript - I can't create my lightbox, forEach is undefined
Hello,
I have a problem with my lightbox, when I'm trying to link my lightbox folder (lightbox.js) to the photographerPage (photographerPage.js line 56), it says that "forEach" is undefined, and I don't know why.
I don't know if someone can help me with that.
...
-
getting javascript value into php variable
I want to get the value into php variable from javascript
if i do like this
Code:<script> var res = 50; </script>
PHP Code:<?php echo "<script>document.write(res);</script>"; ?>
but,
i want to do like...
-
Math operations: sum is having a math issue and ave has nan can I have help?
Code:var answer, i; var exitnum = 999; var ndex = 0; var numarray = new Array; var total = 0; var average = 0; var numanswer = 0; answer = prompt("enter a number greater than 20 or less than 100: ('999' to exit)",""); numanswer
Last edited by Julian935; Nov 9, 2020, 11:57 AM.
-
I need to increment my city counter by one but unsure how can I get some help?
Code:<!DOCTYPE html> <html> <body> <script type ="text/javascript"> var count = 0; var citieslist = new Array; var cities = prompt("Enter 10 cities/STOP to exit:"); while (cities != "STOP")