Explain Codes LogoExplain Codes Logo

Javascript

How can I get access to a Highcharts chart through a DOM-Container?

javascript
prompt-engineering
highcharts
dom-container

Relative Paths in Javascript in an external file

javascript
relative-paths
absolute-paths
base-url

How to check in JavaScript if one element is contained within another

javascript
dom-tree
javascript-queries
performance-optimization

Delete cookie by name?

javascript
cookie-engineering
browser-utilities
javascript-apis

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