javascript

  1. 220061

    JavaScript datepicker disable dates that are in db

    Hello, Does anyone know how I can disable certain dates in my calendar based on the dates that are in the db?? so if the db has start_date (start_datum) 1-7-2022 and end_date (eind_datum) 3-7-2022. Then I want the code to disable all 3 of those days. code: <?php include "config.php"; ?> <html...
  2. Warner

    JavaScript Help Me To Copy Unicode

    Hi, I want to make some kind of tool which copy Unicode like this invisible character. CAN ANY BODY HELP ME ?
  3. kawasaki93

    HTML & CSS need help creating app

    hello, im trying to create a sunbed app for a project but having some problems and questions. I have to create this one; https://ibb.co/qBYf1HQ 1.how can i "clone" the exact number of squares i need. 2.web margins to see it same in a mobile or tablet.(when i log in with my mobile i see 10...
  4. S

    JavaScript Retrieving Ethereum Transaction Data using Javascript

    From my website, I am trying to retrieve the transaction data stored on the Ethereum blockchain using Javascript. ‘Rinkeby Transaction Hash (Txhash) Details | Etherscan’ If you see the transaction link in the Rinkerby test network, (click to see more) and then Decode the input, the data is...
  5. luckyoi

    Python Is programming for everyone?

    Hello everyone! I am kind of new in programming and I have some troubles learning and I was wondering; is programming really for everyone? I am 19 years old and I've been mostly editing codes rather then making own (with no intention of stealing but just messing around to have fun). I've tried...
  6. R

    JavaScript How to display results using localStorage

    Thanks for viewing the question. I made a program in where a user registers, then if the user leaves an item blank, the whole registration items becomes blank (the user has to restart the whole thing). Otherwise, if the user clicks submit and has every item answered, he will be directed to an...
  7. J

    JavaScript problem with special characters

    Hello all, I am trying to make a Chrome extension for a collectible card game that is going to need to involve getting the inner text of all divs with the class "team__monster__level". All of them have have a star special character followed by a number as their inner text. I need the number...
  8. A

    JavaScript TypeError: Cannot set properties of undefined (setting 'num')

    Hi, I have been receiving this error when trying to run this code. I can't get my head around it at all so any help would be appreciated.
  9. S

    JavaScript How to create simmilar buttons on js ?

    Hello ! Now I'm trying to create similar functionality in js. How to create simmilar buttons on js ? Here's the original thread https://codeforum.org/threads/how-to-add-menu-buttons-and-make-them-work.1758/ as also a code, and code on codepen https://codepen.io/shchdmitrii/pen/ExWvbZZ Kind...
  10. Rhubarb

    JavaScript How do I remove all elements from div ?

    On a website, I have a canvas (div) where "code blocks"(form) can be dropped. There's a button that should clear the canvas completely when clicked (so delete all code blocks that are currently in the canvas). How could I do this using JavaScript?
  11. V

    JavaScript javascript image promise stuck in constructor class

    the code gets stuck in a promise (prom1) when image onload. I using await promise inside drawCanvas() because i need to work with this.image after it has loaded. <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Untitled</title>...
  12. K

    JavaScript Javascript Accordion doesn't collapse after is opened

    Hi everyone, I'm relatively new to Js and I would appreciate if someone could help me in this little issue with a accordion. once I click on the accordion it collapses but afterwards doesnt react, Ihave to click outside the div to close it, here is the link on codepen...
  13. nil14

    JavaScript issue with blackjack game on js

    hey everyone, so I'm following that javascript tutorial on youtube where I learn to create a blackjack game and I came across this issue in which I can't render out 2 cards together on the display , I could render them out before when I set the variables to a specific number for example - " let...
  14. gregosilaja

    Node.JS how to fix connect ENETUNREACH on npm on linux

    i am not using a proxy im just a noob trying to learn how to develop with `create-react-app` locally on my machine(linux) this is the output of `tracepath registry.npmjs.org` ``` 1?: [LOCALHOST] 0.020ms pmtu 1500 1: 2001:4451:664:1400:caf6:c8ff:fef2:bdcb...
  15. A

    JavaScript Javascript Help for an iOS Shortcut

    I only just started using Javascript, so I do not know much. I am creating a iOS Shortcut that transfers the current video playing, onto a new tab. The Javascript works on some websites but not all. If the video playing is using the safari default video player, it does not work. It’s a Safari...
  16. S

    JavaScript Link a href rule

    Hello, I am new to javascript, so I would need some help here :) As you can see below, the code is written in a way, that when there is a link, by clicking on it, the behavior is set to scrool down to the section that has certain ID. However, I have one (or more) links (a href) on my webpage...
  17. DavidFrear

    JavaScript Webpage displays Blank when 'npm start' ran in terminal

    I have started building a react webpage and when I run npm start in the terminal the localhost:3000 page loads with no errors etc but its just blank. I tried adding some text in white to see if but I cant! I am new and just need pointing in the right direction if someone can.
  18. clizco

    CSS Problem with css

    Hello person who reads this, I hope you are well. I have a doubt with CSS, I have been working on a small project that I started recently I wanted to make a web page style with header, images and etc. But when I change the size of the header image it changes all the others. I would like to...
  19. A

    JavaScript why do both objects move?

    0 I want two separate objects on a page to be moveable by the user - mouse click and drag. I'm having all sorts of problems achieving this. the following test code baffles me. Both objects get moved and I cannot work out why. / <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >...
  20. Gundeep

    JavaScript need help in redirect page after upload GLB file

    Hello guys, I need help I created one HTML page in which the drag and drop or upload file button is there, in this I need if I upload a GLB file then it will redirect to the three JS scene and open that GLB file into that scene. If I added below two lines it divides my index.html into two parts...
Top