JavaScript
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Remove duplication to improve code
In a recent thread about validating form fields, I noticed a lot of duplication in the code, and that duplication has been making it tricky for people to examine the code. This thread is dedicated to exploring how to eff… |
49 | 9900 | August 4, 2021 | |
Converting jQuery to vanilla JavaScript, a step by step guide
Frequently I see on here people asking to deal with jQuery, for example with converting it to vanilla JavaScript. As a result I thought that I’d provide a worked example of converting code from jQuery to vanilla JavaScr… |
14 | 11695 | July 16, 2020 | |
An introduction to debugging code
Recently while helping someone make improvements to an SVG shape editor being developed on JSFiddle, we were setting the currently active shape with a thicker stroke. That worked when one of the Stroke input fields was a… |
2 | 13137 | April 26, 2018 | |
Whats better, concepts or projects?
|
7 | 329 | May 22, 2023 | |
Set default option in combobox
|
2 | 136 | May 21, 2023 | |
Cart duplicates item when add to them
|
8 | 680 | May 19, 2023 | |
JavaScript Clock/Timer for website
|
7 | 374 | May 16, 2023 | |
Simple Swap Algorithim Not Working
|
8 | 258 | May 18, 2023 | |
Problem of translation
|
8 | 275 | May 18, 2023 | |
Select radio buttons
|
11 | 545 | May 18, 2023 | |
How to fix W3C warns of website
|
20 | 332 | May 18, 2023 | |
Typescript via CDN
|
1 | 164 | May 18, 2023 | |
Show / Hide datalist on event
|
9 | 267 | May 16, 2023 | |
Passwords list add and remove and save data with Json
|
0 | 148 | May 15, 2023 | |
Dev tools element inspector
|
4 | 129 | May 15, 2023 | |
Execute script after clicking in field
|
32 | 350 | May 15, 2023 | |
Auto assign AlpineJS' @input.debounce to 100+ input fields
|
1 | 278 | May 15, 2023 | |
Code works in console but not in user script
|
6 | 397 | May 15, 2023 | |
How can I shorten this code?
|
7 | 210 | May 14, 2023 | |
If a website is a news website then block it
|
6 | 598 | May 13, 2023 | |
Keyup event to work once
|
2 | 171 | May 12, 2023 | |
How to stop myself from scrolling under the fold in vanilla JavaScript?
|
9 | 445 | May 12, 2023 | |
Adding item to cart their quantity value is dynamic instead of being correct
|
2 | 297 | May 12, 2023 | |
Jquery Script: Convert Select Dropdown to Selectable Boxes/Div
|
10 | 561 | May 12, 2023 | |
Multilanguage website
|
17 | 703 | May 12, 2023 | |
Global variables getting updated?
|
6 | 579 | May 11, 2023 | |
Adding more fields to a form
|
3 | 327 | May 11, 2023 | |
Associate value with mouse double click (hotclick)
|
8 | 150 | May 10, 2023 | |
How to create a JSON array with values from DOM(HTML TABLE) when I click a button using JQuery/Javascript?
|
2 | 1394 | May 7, 2023 | |
Best way to use if/else in a promise chain
|
15 | 1592 | May 4, 2023 |