Explain Codes LogoExplain Codes Logo

Javascript

Jquery Array of all selected checkboxes (by class)

javascript
prompt-engineering
functions
callbacks

Reactjs and images in the public folder

javascript
webpack
image-management
asset-management

How to get all selected values of a multiple select box?

javascript
prompt-engineering
functions
callbacks

In reactJS, how to copy text to clipboard?

javascript
prompt-engineering
functions
callbacks

Conditionally applying class attributes in React

javascript
jsx
conditional-rendering
class-names

Const in JavaScript: when to use it and is it necessary?

javascript
best-practices
functions
performance

Get child node index

javascript
dom-manipulation
performance
javascript-features

Detect viewport orientation, if orientation is Portrait display alert message advising user of instructions

javascript
orientation-change
event-listening
responsive-design

Get the name of an object's type

javascript
object-type
javascript-objects
type-checking

How can I remove all CSS classes using jQuery/JavaScript?

javascript
prompt-engineering
functions
callbacks

How do you detect the clearing of a "search" HTML5 input?

javascript
input-event
debouncing
autocomplete

Why does JS code "var a = document.querySelector('a[data-a=1]');" cause error?

javascript
prompt-engineering
best-practices
responsive-design

Generating PDF files with JavaScript

javascript
pdf-generation
javascript-libraries
pdfkit

How to remove an HTML element using JavaScript?

javascript
event-listeners
element-removal
javascript-best-practices

Run javascript function when user finishes typing instead of on key up?

javascript
debounce
event-handling
performance-optimization

Is there a JavaScript / jQuery DOM change listener?

javascript
mutation-observer
dom-change-listener
performance-optimization

Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools

javascript
prompt-engineering
best-practices
modernizr

Convert blob to base64

javascript
async-programming
blob-conversion
base64

Static variables in JavaScript

javascript
static-variables
es6-classes
closure

How to enable or disable an anchor using jQuery?

javascript
event-handling
jquery
ui-design