473,908 Members | 6,917 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
1
11,168
thread by: yogeshkr | last post Oct 22 '22 by: zmbd
i cant figure out how to get when i have to find the all records in the mongo db document and check a field which is true or false from each document inside collection here i am first finding all user from user table after that taking the user ids and finding teir course registrations if the course registration is true then i have to increase...
0
7,724
thread by: Tanu Anu | last post Aug 2 '22 by: Tanu Anu
checkboxSelection : function(rowNode){ if(rownode.data && (!rowNode.data.canDelete) || rowNode.DeleteStatus === SmgDeleteStatus.Deleted || (rowNode.data.IsFavorite == "No"))){ retuen true; } retuen false; } But this is completely removingthe checkbox, I want checkbox but it should be in a disabled way. please help me...
0
4,145
thread by: vishwasr | last post Aug 1 '22 by: vishwasr
Data visualization has now risen to ubiquity in the realms of Business Intelligence and data journalism. All those infographics you see? Data visualization in action. Charts are usually used to analyze trends and patterns in data sets. Let's say you have been recording the sales figures in Excel for the past three years. Using charts, you can...
1
8,749
thread by: samanthajade | last post Jul 29 '22 by: dev7060
Hey Folks, Hey, I was going through an interview resource on React Hooks. Had a query, Why do we call hooks from React components and not Js? TIA..!
0
2,778
thread by: Saanvi Sen | last post Jul 6 '22 by: Saanvi Sen
Hello Everyone, I am currently working on an Education Web app, based on React and looking for some Admin templates that can help me to save my time as I do not want to build the whole app from scratch. Can you guys suggest to me some best Admin Templates based on React? Thanks!
0
7,751
thread by: sjain6 | last post Jun 17 '22 by: sjain6
High level Java Interview Questions for Experienced and novices Java is the most by and large elaborate programming language in the continuous IT industry. One critical avocation behind the gigantic number of fledglings and specialists in the field of composing PC programs is the expert potential that Java data goes with. This article is...
2
13,698
thread by: markleo | last post Jun 17 '22 by: sjain6
when I check this link: I get bellow messy code: https://i.stack.imgur.com/dvtHU.png how to get the correct format js content?
1
10,285
thread by: bobi9998 | last post Jun 12 '22 by: dev7060
So i have this code here: let submitButton = document.querySelector("#btn"); let myAddList = document.querySelector("#addList"); submitButton.addEventListener("click", submitFunction); function submitFunction(){ let getName = document.querySelector("#firstName").value; let getLastName =...
1
17,394
thread by: kpripper | last post May 16 '22 by: dev7060
Hello, how to enable alerts like assignment in conditional expression in Visual Studio Code? https://static.daniweb.com/attachments/4/ea45be0a5188e47ba3b06e9b529bbb5a.jpg
1
8,135
thread by: railcats | last post May 11 '22 by: Dormilich
I'm trying to POST my local storage to an API, but everytime I do it, I get a status: 400. Title of error says '"One or more validation errors occurred."' I must be doing this wrong. I'm trying to loop through all the key value pairs and then send that via a POST. public postInfo() { for (let i = 0; i < localStorage.length; i++) { ...
1
12,628
thread by: dreamtext | last post May 2 '22 by: dev7060
I keeping getting NULL when using queryselector to fetch DOMelements that have been created after the site has loaded. Does anyone know why this happens? The first selector clicks on the menu The second selector clicks on the menu option that only loads and gets added to the DOM after the first is clicked 1) site loads 2) i run the...
2
25,057
thread by: WIPE | last post Apr 25 '22 by: RamananKalirajan
I have a PHP page with some checkboxes. I need to do that: When I click on a button, an alert comes out to show me all the IDs of the selected boxes. How can I do this? Visual example: | BUTTON| - View the selected tests in an alert. ⬜ ALL | PRODUCT | SAMPLE ID
2
7,527
thread by: AlexandraMT | last post Apr 13 '22 by: puananiila99
Nodemailer creators say that it makes sending an email a piece of cake. Let’s see if they are talking about cooking or eating 🙂 The idea of this article is to explain how to use Nodemailer for email sending. We will focus mainly on SMTP and HTML aspects but will also do an overview of all Nodemailer capabilities. Besides, this tutorial will help...
0
7,306
thread by: Dexty | last post Mar 31 '22 by: Dexty
I'm trying to make a simple chrome extension that autofills a particular form but I keep getting Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'query') in the chrome extension error log and Uncaught TypeError: document.getElementsByName(...).setAttribute is not a function in the console. Here's the...
1
6,114
thread by: aousaja | last post Mar 30 '22 by: Dormilich
I have this drop down and I want to auto select the drop down value to current month as the user gets to this page every time, can anyone help me in this regards I am new to java script please let me know as soon as possible <select class="customSelect1 floating" id="month" name="month"> <option value="1">Jan</option> ...
1
12,187
thread by: 13Nicholas | last post Mar 26 '22 by: Djohnavid021
In my hometown, I’m a budding entrepreneur with a cab business that I’d want to develop to meet current market demands. It would be more expensive to create a mobile app for both iOS and Android. As a result, I resorted to Android to build my own taxi booking application. Is there anyone who can help me come up with a nice idea for it? Should I...
3
9,424
thread by: silentdog | last post Mar 21 '22 by: Dormilich
Hello I have this Form Where i Am trying to Add up the Quantity of items. <!DOCTYPE html> <html dir="ltr" lang="en-GB"> <head><meta charset="UTF-8"> <title>AETP Quotation</title> <!--CSS for the theme--> <style type="text/css">body { font-family:Sans-serif, "Helvetica", Verdana, sans-serif;
4
18,260
thread by: SagarJaybhay | last post Mar 16 '22 by: ramisthand76
An array is a collection and it is zero-indexed. The meaning of this is the first element is at index zero and the last element is at an index of array length -1 position. The array in JavaScript has length property which returns the size of that array. Example: var array = ; console.log("Array Length -- "+ array.length);
4
6,586
thread by: pooja2202 | last post Feb 9 '22 by: rishabhs
While using the youtube API to get the subscriptions,liked videos,upload videos and comments, and update the channel details of the authenticated user in our angular project using youtube APIs,we are getting 403 Forbidden error. It states that request had insufficient authentication scopes. we have tried applying scope and access token to the...
2
30,977
thread by: WIPE | last post Dec 6 '21 by: locoge
Here's the situation: As you can see in the visual example below. I have four - buttons radio - I need to make an event where when I select the option "NO" of the compo I automatically disable the two selections in the field . If "YES" is selected, the two other selections must remain active. My problem is because the four stamps are "radio...
0
5,859
thread by: Xillez | last post Sep 30 '21 by: Xillez
Hello! I'm trying to set up a scene in THREE.js using some different lighting sources, but the "floor" only reacts to AmbientLight (removed in three.js scene) and should be lit about the same as in the blender view. I've verified the normals on the model point outwards and the material has default blender material settings as...
7
8,630
thread by: tdrsam | last post Sep 11 '21 by: mqasimkhan
I'm trying to add a MongoDb database to a nodejs app. I've never done this before and don't know how it works. I seem to have the Db installed, but I don't seem to be able to send data to it from a web form. I have this in my app.js file: var express = require('express'); var path = require('path'); var favicon =...
0
4,776
thread by: MariaV06 | last post Sep 10 '21 by: MariaV06
I need to rotate this Icicle to a vertical(up-down) way: https://observablehq.com/@d3/zoomable-icicle. The first screen option works but when I clicked the item, it fails. The following changes work: .attr("transform", d => "translate(" + d.target.x0 + "," + d.target.y0 + ")"); .attr("width", d => d.x1 - d.x0 - 1) .attr("height", d =>...
1
4,023
thread by: Xillez | last post Aug 18 '21 by: Xillez
Hello! I've added shadowMapping in three.js (typescript) and get these weird shadows. Any ideas on how to smooth them out? Currently using "shadowMap.type = THREE.PCFShadowMap", and "THREE.PCFSoftShadowMap" isn't any better.
1
4,346
thread by: CARIGAR | last post Jul 19 '21 by: playfantasycric
JavaScript is a dynamic programming language that's used for web development, in web applications, for game development, and lots more. It allows you to implement dynamic features on web pages that cannot be done with only HTML and CSS. Many browsers use JavaScript as a scripting language for doing dynamic things on the web. Any time you see a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.