473,574 Members | 2,331 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.
2
2,370
thread by: SagarJaybhay | last post May 9 '20 by: SagarJaybhay
Hello, I developed project using requirejs architecture where all dependancies and js metioned in app.js files and in repective modules files under define tag metioned required jquery modules. In this i used some third party lib like kendo and all and some i created. So when i run my application under network tab i able to see it will download...
0
1,517
thread by: ttcode2020 | last post Apr 30 '20 by: ttcode2020
I have to make an app for my computer class and I am making a sort of mine sweeper game thing but way simplified. I have to make the app in Code.org and can't figure out a way to make sure that my images that are hidden under the square to randomize under the squares but not in the same random spot.
1
2,115
thread by: geek1212 | last post May 23 '20 by: dev7060
Hello the community , I have some trouble to run this project https://github.com/jaewonhimnae/react-shop-app can someone provide some help ? Best regards.
1
1,877
thread by: zubairdev7 | last post Jun 17 '20 by: dev7060
I hv this code link below: https://github.com/iamevenstronger/quiz In this case after user submission the count all user answer and display correct answer, i want to display data like this in end: {"name":"test name","check":"yes","select":"angularjs","message":"Message text","email":"abc@gmail.com","password":"ABC"} What changes i...
0
2,102
thread by: Gizmo | last post Jul 2 '20 by: Gizmo
I am making use of the redux-offline plugin for offline first react-redux app. It works fine but I am facing issues with configuration. I tried the code: offline(...offlineConfig, { effect: (effect, action) => { console.log("Executing effect"); } } The control comes to the above code after executing the code...
3
4,898
thread by: arkamrox | last post Jul 23 '20 by: SwissProgrammer
I want to know how I can create a RESPONSIVE (that resizes according to devices) search box in HTML, CSS, & JavaScript, etc that opens up folders and files according to the value that the user inputs. It would be helpful if you can provide me with the full code. I will demonstrate a small example using images that I created using image processing...
1
2,843
thread by: Roamer | last post Jul 14 '20 by: Roamer
I have an insertion of an image into my editor. It works very well, but... The image only inserts after all the text. How can I insert the image at the cursor position? The Javascript in a .js file (not needed for this query): function gimg(str) {var e = getRefById('Entry'), s = null, r = null; if(e) {if((s = document.selection) &&...
0
2,102
Exequiel
thread by: Exequiel | last post Jul 14 '20 by: Exequiel
Hello guys, I'm new in REACTJS and Im using Material UI. My question is how can I chop chop this code here, I want to separate the functions for drawer in other file and called it DrawerSlider.js and import it to HTML tags in DrawerView.js wich contains the html tags, import React from 'react'; import clsx from 'clsx'; import { makeStyles,...
3
3,148
thread by: Hansika | last post Aug 5 '20 by: Ishan Shah
I want to know how to get values in other text box(from database) by user input its id in textbox by using php ajax xml mysql
5
3,071
thread by: momorix | last post Aug 2 '20 by: dev7060
Ladies and gentlemen ,i learn by doing simple examples but every time when try to extract some data yourself, rework it and display it as I want it, I have a problem. I never know when and how and what I have to use to get a typical json }, { item2: } ] I'd like to format it so that I can delete it into a csv file
6
7,617
thread by: Joshuaschist | last post Oct 1 '20 by: Joshuaschist
Compiled with warnings. (webpack)/buildin/global.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: *...
1
2,519
thread by: Joshuaschist | last post Oct 9 '20 by: SwissProgrammer
Typescript Error Type is not assigned to type
3
2,839
thread by: TerraFree | last post Oct 30 '20 by: AjayGohil
Where should i put my javascript file calls? Inside the head tag or at the end of the body tag? Are there benefits for choosing one over the other?
3
3,811
thread by: lando19 | last post Nov 12 '20 by: dev7060
I am making a simple audio recorder and editor with p5.js and p5.sound. I have searched the docs and Google for this answer and have not found it. So I am asking the professionals. I want to know how to save the p5.js sound file with the effects added. For example, I tried this: soundFile.setVolume(3); save(soundFile, "mySound.wav"); It...
1
2,383
thread by: alexsunny123 | last post Nov 14 '20 by: dev7060
Hello, I know I can reproduce what is written in input boxes in other input boxes --- like with "shipping" and "billing" addresses. However, I haven't been able to make it so I can present that entered data somewhere else - like when people enter data on a website and then there answers show up in "Settings." I tried adding:...
1
1,684
thread by: adam024 | last post Nov 22 '20 by: sabre
Guys please i need some help , when i write npx create-react-app <my-app> this is what's happened Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\ADAM> cd Desktop PS C:\Users\ADAM\Desktop> cd react-folder
0
2,268
thread by: tintin2300 | last post Dec 9 '20 by: tintin2300
<?php //database connection here ?> <table class = "TOTAL" border =" 1"> <thead> <tr> <th>Component</th> <th>Item Name </th> <th>Price </th>
1
2,621
thread by: Xillez | last post Dec 13 '20 by: dev7060
Language is TypeScript (didn't have a specific category). Say I have a object hierarchy like so: let obj = { instance_id: "<some uuid>" child1: { child2: {
2
14,417
thread by: rex1984823 | last post Aug 1 '23 by: erikbower65
hi, i'm still a newbie in programming, and just started practicing JavaScript a month ago; i tried install VS recently , i follow the set up tutorial on VS Q&A and youtube, whenever i adding a new code in the editor the output doesn't seems follow up, it felt kinda delay, please help to check if i missing something on the setting up, thanks!
1
1,735
thread by: aryankanse6 | last post Feb 14 '21 by: dreamtext
I am developing a server-side app that cannot run in the browser, and therefore I cannot debug with DevTools. If I want to debug an object I need to print the object to shell using JSON.stringify OR require('util').inspect These work okay but it's not anywhere near as good as a browser's DevTools. So, I am wondering, is there a better...
3
2,793
thread by: skolbaek | last post Mar 11 '21 by: Dormilich
Hello, I have a page with multiple users listed, and for each user multiple forms that should be able to be submited individual, with a response div that shows up on successfull submit and then disapear again af 10 sec. when I have a single form it works as it should, although you are only able to submit 1 time, but the big issues comes when I...
0
1,035
thread by: KIFA7 | last post Apr 21 '21 by: KIFA7
Could I get the directions how to enable JavaScript on my, NOKIA 2.3 MOBILE PHONE. Help much appreciated.
0
1,057
thread by: saraemadi97 | last post Apr 25 '21 by: saraemadi97
I have this code in Javascript (minesweeper) but I want to add this article in the code . How ? --- class Minefield { /* Construct a minefield with the given width, height, and the number of mines. */ constructor(width, height, mines) { /* Sanitize input parameters. */ width = Number(width); height =...
1
2,576
thread by: DADof3 | last post May 6 '21 by: dev7060
I have an issue where I need to set the value for checkboxes so that if the box is checked I pass a certain value and if the box is left unchecked i also pass a value. Right now the code I have written is working fine if the box is checked. I am not getting anything to pass when the box is unchecked. Here is the javascript i have written. ...
1
6,102
Amendachase
thread by: Amendachase | last post Jun 4 '21 by: Banfa
Change the div position when certain event triggers (Using pure JavaScript) Hi everyone, I hope you are all doing well. I am looking forward to achieving a vibration effect for a div that is relatively positioned, dynamically on click event in pure javascript without any typescript injections, Is there any optimum way to achieve said milestone...

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.