Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

javascript

  1. A

    JavaScript fixing external source image display in related posts

    hi as title suggests that how do i fix displaying external source image in blogger using javascript here is the code i am using blogger xml. <div class='relatedPosts'> <div id='relatedPosts'> <script> var labelArray = [<b:if cond='data:post.labels'><b:loop...
  2. I

    JavaScript How to make navigation close in JS when clicking somewhere else?

    I know this is a frequently asked question but I am not really familiar with web development and this is the only thing I need to get done. This is how the navigation javascript snippet currently looks like: const hamburger = document.querySelector('.hamburger'); const navItem =...
  3. D

    Node.JS Error You have tried to call .the(), .catch() [closed]

    You have tried to call .the(), .catch() **Question.** 1. What is the reason for the problem? 2. How to fix the problem? I have a project, I want to launch it. The project is located in the folder `e:\Test\Pro01\`. **I've done it:** - I opened the Windows console; - I entered the...
  4. A

    Node.JS Validation doesn't work in custom promisify function

    Implement the promisify(callbackFunction) function so that it takes a callback-based function and returns a promise-based function. The promise-based function can be called with one or more arguments. If so, pass them to callbackFunction, and add an argument at the end for the callback. In...
  5. T

    JavaScript Youtube video title grabber Java script no longer working

    I hope someone who knows JavaScript could help me fix this script. It's for a chat server called sb0t which uses plugin scripts. Unfortunately this youtube script which prints the title of a video link when pasted in the chat, stopped working a while ago because it used a link...
  6. D

    JavaScript Need Help With Tree View Actions

    I have a Tree View created with HTML and CSS based on design from W3 Schools that I use in MediaWiki for Page navigation. I load Tree View on Pages from a MediaWiki Template. Javascript for Tree View is copied to MediaWiki:Common.js that loads for every Page. By default, Tree View is closed...
  7. N

    JavaScript get max sum of multiple functions

    I'm trying to get the largest number of this 3 functions then store in an array, the variables of that function and their amount..can be done? //this must be the result var result = [50,55,60,165] // function r2 function r1(){ var x = 5; var a = 10; var b = 10; return x+a+b // 25 } function...
  8. 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...
  9. 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 ?
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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.
  16. 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...
  17. 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?
  18. 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>...
  19. 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...
  20. 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...
Back
Top Bottom