Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

javascript

  1. Jonny Preis

    JavaScript Toggle Dark mode

    Hello im trying to get my Dark mode working but i cant find the problem <template> <!--<v-btn @click="toggleTheme" text rounded outlined>Change Mode</v-btn> --><v-btn icon @click="toggleTheme" v-on:keyup="emitToParent"> <v-icon > {{ ($vuetify.theme.dark) ...
  2. C

    JavaScript Calculation with dates doesn't work

    Dear experts I'm not really used to javascript, and I maybe have a silly problem. In my script I want to calculate the date of today minus a earlier day and need the numbers of day. Javascript is calculating in milliseconds, right? I get a number of days but they are really wrong. Do I have...
  3. Abhishek6198

    JavaScript jsPDF-Unable to write updated values in pdf

    I am trying to print an HTML table in my pdf. This is my code: let a = 0; let b = 0; let c = 0; let table = document.getElementById('pol_table'); const doc = new jsPDF(); date.onchange = evt => { $.ajax({ url: '/server.php'...
  4. K

    JavaScript Issue with textarea script?

    so im trying to create an "AUTO" WYSIWYG real-time documentation generator for VS2019 Intellisense in javascript & jquery. so i got it working, but noticed after I type "Description : " ( a keyword ) into the text box, it converts fine but THEN if i try to delete it, it keeps on adding the <b>...
  5. Abhishek6198

    JavaScript jspdf-autotable: font is not working in live website

    I am trying to set a custom font inside styles{} inside doc.autoTable({ }). This is my code: let doc = new jsPDF(); doc.autoTable({ html: '#news_pos', startX: 10, startY: 15, theme: 'grid', bodyStyles: {lineColor: [0, 0, 0]}, styles: {...
  6. E

    JavaScript JavaScript Bookmarklet bug?

    Alright so when I add a id tag to a html element <div id = 'test'>hi<div> [CODE/] and use [CODE] document.querySelector("#hi").style.backgroundColor = "green"; [CODE/], it works. However, the second I use [CODE] mainwindow.id = 'hi'; [CODE/] in [CODE] const mainWindow =...
  7. H

    Contribute to an open source web project

    Hello there! I would like to participate in a web project to improve my front end programming skills in HTML, CSS and Vanilla JavaScript. Could you please tell me or guide me how can I contribute to a free web project? I searched on the net but could not find anything. Thanks a lot!
  8. S

    JavaScript Getting value from a defined function variable name

    I have a function like so: var UploadMediaViewModel = (function () { const umvm = this; var blah = ""; umvm.upload = null; umvm.toProcess = []; umvm.unload = function(e) { cancel(); } umvm.canSubmit = false; umvm.submitWhenComplete = false...
  9. D

    Node.JS How to correctly prescribe if there is a filter for the filter?

    There is a filter. The filter filters by the "full name" field. Everything works. Logic: - the user enters the criteria for the filter in <input id="fio"> - criteria fall into JS - data is received from the database - the HTML table is stored. How to set up a filter for...
  10. uploadusername

    Whats new in flutter 3

  11. uploadusername

    Future of Flutter

    What is the future of Flutter? It could not be a better time to discuss the future of Flutter because, as of today, May 2022, it has just launched Flutter 3. With their new-in-the-market features, it becomes easier to hold a microscope on the future plans of Flutter and predict its outcome. With...
  12. uploadusername

    Flutter programmer

    Flutter is complicated, are there any flutter programmers, for flutter projects.
  13. 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...
  14. 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 =...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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 ?
Back
Top Bottom