javascript and html

  1. Akhter

    JavaScript Sum textbox value with Gridview Column of Credit

    i want to sum Textbox(txtamount) value with Gridview Column Credit value,and display in footer. $(function () { CalculateDebitCredittotal() }); function CalculateDebitCredittotal() { var creditTotal = 0; var debitTotal = 0; $("[id*=gvtrans]...
  2. JosiahMaybe

    JavaScript Is element.addEventListener universal or do I need jQuery?

    In HTML pages there are elements and these elements can have event listeners. Like most universal way I have found to set these is element.addEventListener with first parameter for what and second parameter listener. Is say like that with "click" universal? Like could it run on all internet...
  3. JosiahMaybe

    JavaScript Should this hide all in all browsers?

    Hello, trying to have a page entirely hidden, but then show specific elements by ID. Would this part work in all browsers? I have tested in Microsoft Edge on a computer. let count = 0; while (count != document.body.children.length) { document.body.children[count].hidden=true; count++; }...
  4. JosiahMaybe

    JavaScript Is prestashop.on synchronous?

    Javascript events I found that for Javascript events. If I do prestashop.on with checkoutChangedStep will it be before event, submission, like my code, then maybe checkout change step with not checkout change step before prestashop.on ends? Can I reject by reloading or loading an external page...
  5. M

    Node.JS Code Assistance

    I'm currently working on a project where I need to implement a table filter using checkboxes, and I'm facing some challenges. I've managed to set up the basic functionality, but I'm struggling with a couple of specific requirements. I'm reaching out to the community for some guidance and...
  6. developpersoft

    JavaScript How to understand js code for plugins?

    Hi There, I have problem to understand javascript code in plugins I don't know how this works all the elements symbolized without using document.getElementById to add an HTML Elements or change it But in plugins I only find The code Like this : var ap = Object.defineProperty; var lp =...
  7. yumedoll

    JavaScript drawImage on a canvas in the position where an element has been dropped into it?

    I'm making a game about baking a decorating a cake using Interact.js. Everything is done so far but I'm trying to figure out how to make it so the image that is dragged onto the cake (which has a canvas in it's div) will be printed on the canvas at the exact position it was dropped. The idea...
  8. yumedoll

    JavaScript Why is the placement of the declaration of my let variables being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt =...
  9. K

    JavaScript Can't get past size five...

    First of all, this is just what I started for fun and when I started I knew nothing about html, css, javascript, mysql, or php. So that's where you should expect my level of code and understanding to be so treat me accordingly. I have an issue with a game I started writing because I was at a...
  10. C

    JavaScript Navigate images with javascript

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet"...
  11. developpersoft

    JavaScript How to transfer payment from website to bank account?

    Hi, I hope you're well Please I Have a Website for payment form I need the code to let user transferring payment from website to bank account . here is the code for payment form so I need someone to add javascript code for transaction. <button type="button" class="btn btn-primary launch"...
  12. AndyMack

    JavaScript How To Make a GIF Move with Arrow Keys?

    I made a code, trying to make a little character run around my screen, but I cannot figure out where I went wrong. HELP! When I ran the code, the GIFs all went in different directions, but i cannot make them stay together. I cannot figure out how to make the GIFs only work when that individual...
  13. P

    Add a button on the single page product that add's the product to the cart with an amount of 0$

    I want to show a button in my single product page template that says "Try at home for free" under the product description and when you press the button it will add the product to the woocommerce cart with an amount of 0$. I'm using woocommerce with elementor. I have the following PHP code on...
  14. V

    Want to cretae a script for FIFO

    I have a database with lot No and quantity as below. I have to use first in first out concept (FIFO) to issue these materials LOTNO Quantity 1 2 2 4 3 13 If requested quantity is 1 the i have to decrease quantity of lotNo 1 by 1 if the requested quantity is more than the quantity...
  15. J

    JavaScript Javascript to put into bookmark to link to a specific line of text

    Hello, I need support on linking to a specific part of a website that has a drop down. I have tried the chrome extension link to fragment. It will not open the drop down and show the text as a bookmark. It just pulls up the website. What do I need to type in to display the website and open...
  16. A

    Save password in chrome

    Dear All, I am working in a MNC and my chrome is protected by the company's. Recently, they have restricted to save the login credential in the chrome, due the same I have to write 40-50 password in difference government portal. The company also do not allow to use any external chrome...
  17. Idle Commander - The Dev

    JavaScript Why is my first test good then my second goes bonkers

    I have this battle game and the first time you click battle it goes really smooth and well and does everything needed but once I clicked the button again there is supposed to be a 3-4 second gap between all the attacks to each other but it does something like this (1 _ is a second an "at" is an...
Top Bottom