Welcome!

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

SignUp Now!

javascript and html

  1. L

    JavaScript Passing data from (html-JavaScript) table to JavaScript Function

    Hi, I've got a button for adding rows (select option value and Input) to a html-JavaScript table, When I select an element from the select option value (idmedico) I use onchange option in the select for going to a JavaScript function for fetching the name for the idmedico and the populate the...
  2. irfanjamal

    JavaScript How I can adjust the string output in JavaScript and give a sequence

    I need help, I am using Javascript code to detect Radios, TextInputs and Text Area fields and push the detetcted values from field to a sequence in a input field. I've given each field a id with sequence, name1, name2, name3, name4, name5, name6, name7, name8, name8, name10, and name11 and the...
  3. JosiahMaybe

    PHP Anyone want to review like my selling plans?

    Okay so I have made products, I plan to sell. Basics of my plan are 1d3.com for payments and taxes, asurahosting.com/hosting web hosting, weatherapi.com geolocation, and proxycheck.io to make that accurate. My email is [email protected], you can also direct message me but I prefer privacy for...
  4. W

    Answered Replace very large jS if/elseif/else to show/hide many divs?

    Hi Forum, I've got a page that has a portion of it that displays, or hides, DIV's depending on what option was selected. There will be around 25 different div's when done, and while developing this I realize that the JS if/else is going to be quite verbose. For example...
  5. W

    JavaScript How to set, and then update a Datetime updated field?

    Hi forum, I'm using Bootstrap studio 5.3 and currently have a form with 23 fields on it. It's a form a user can save progress on and come back to at a later time or date, so there is a "Date Updated" field that is a read only datetime picker. As of now, I can get the Date Updated field to...
  6. Gigiux

    JavaScript How to launch functions from JS setInterval?

    Hello, I am trying to understand the use of the function setInterval by drawing a Pacman that opens and closes its mouth. I understand that I can launch only one function from setInterval, and this function has to be a wrapper that launches other functions. I set a wrapper drawPac that launches...
  7. tptxdev

    JavaScript Call Wix Studio Lightbox from Custom Code

    The lightbox on the Get More Information button at tpcarlist.com comes up when you click on it but we are unable to get the select box choice produced by this custom code to show it. <script> var rowsApplied = -1; var applyingRows = false; var tryAgain = true; var previusSelectColumns =...
  8. Jeremiah

    JavaScript Changing styles inside shadow-root

    I have this problem of changing font styling inside this shadow root. I need to change stuff inside that popup. And yeah also because this is a shopify app I can not edit its HTML so I have to use JS, CSS etc. Screnshot of the popup + dom I tried waiting...
  9. 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]...
  10. 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...
  11. 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++; }...
  12. 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...
  13. 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...
  14. 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 =...
  15. 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...
  16. 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 =...
  17. 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...
  18. 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"...
  19. 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"...
  20. 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...
Back
Top Bottom