Welcome!

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

SignUp Now!

java script

  1. B

    JavaScript WorkSheet.getRange not working

    This is the code: function main(workbook: ExcelScript.Workbook) { // Access the data sheet let dataSheet = workbook.getWorksheet("Data"); // Access the form sheet let formSheet = workbook.getWorksheet("TEF3202"); // Access the range containing form fields let formRange =...
  2. P

    JavaScript String.prototype.doStuff new function is never defined

    prototypes.js: if (!String.prototype.doStuff) { String.prototype.doStuff = (str) => { // do stuff to this with str return this.substring(0, this.length()); }; alert(typeof doStuff); // returns "undefined" and I don't know why } index.html: <html> <head>...
  3. 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]...
  4. M

    JavaScript Please What is wrong with this script

    <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <div id="gpt-300x250extra_5"> <script> window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() {...
  5. Widusha Dheemantha

    Node.JS Can't Connect To MongoDB Atles

    in my case I upload the mongoes link from web to vs code & then I develop the module file. after that start the npm & start testing the inputs that I created in index.ejs file. when I click the submit button the information that I type on the input tag Is not on the mongoDB collection (in web)...
  6. 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...
  7. Studi

    JavaScript How to close the selection if I click outside?

    const selectBtn = document.querySelectorAll(".select-btn"); const options = document.querySelectorAll(".select-btn label"); selectBtn.forEach(function (button, index) { button.addEventListener("click", () => { button.classList.toggle("active"); selectBtn.forEach(function (button2...
  8. Juice3d

    JavaScript Syntax error line 1 character 1

    Hi , I've never really coded before so bear with me , im trying to run this javascript const { Chatbot } = require('tchatgpt'); const config = require('./config.json'); const chatbot = new Chatbot(config); chatbot.refresh_session().then(() => {...
  9. N

    JavaScript Grid module conflict with top (sidebar) menu. how to fix?

    Hello friends I hope you are all well. I need a little help from you if you are familiar with CSS, PhP or Javascript. I needed a grid display component for my site, and after searching I found a suitable one and installed it. Now the problem is that after activating the module related to this...
  10. L

    Carousel slider doesn't work

    Hello, I just followed a videotutorial on how to build a carousel slider. Once I was done i tried it out, but it didn't work. Nothing happens when I click on the words left/right. I looked trough the whole code, but couldn't find any mistakes. I thought that maybe someone here could look an...
  11. G

    JavaScript Quiz with select form JS

    how can i make it take the correct answers from the select and add them to the correct. If answered correctly in the select to write "You got 7 correct". Now it works only for radio button and for the text ... I make for cycle but i dont know how to add the check of if to work properly var...
  12. Veronica

    JavaScript Want more resource

    We can use binary search to find the target element in an array. First, we need to sort the array in ascending order. Then, we can use binary search to find the target element in the sorted array. The time complexity of this approach is O(nlogn), where n is the number of elements in the Array...
  13. Neokant

    JavaScript Java script solution

    For web developers and other programmers interested in using JavaScript, this bestselling book provides the most comprehensive JavaScript material on the market. The seventh edition represents a significant update, with new information for ECMAScript 2020, and new chapters on language-specific...
Back
Top Bottom