Explain Codes LogoExplain Codes Logo

Javascript

How to get text of an input text box during onKeyPress?

javascript
event-handling
real-time-data-processing
input-events

How do I delete an item or object from an array using ng-click?

javascript
angularjs
array-manipulation
javascript-best-practices

Jquery selector regular expressions

javascript
regex
jquery-selector
performance

Add new attribute (element) to JSON object using JavaScript

javascript
json
javascript-objects
data-interchange-format

Access to ES6 array element index inside for-of loop

javascript
loop-control
iterator-protocol
array-indexing

Invariant Violation: _registerComponent(...): Target container is not a DOM element

javascript
react
dom
javascript-best-practices

How do I remove a file from the FileList

javascript
filelist
array-manipulation
dom-updates

How can I select an element with multiple classes in jQuery?

javascript
jquery-selectors
javascript-best-practices
web-development

Programmatically Lighten or Darken a Hex Color (or RGB, and Blend Colors)

javascript
color-manipulation
web-development
performance

Textarea Auto height

javascript
responsive-design
performance
best-practices

Angularjs ng-repeat handle empty list case

javascript
prompt-engineering
best-practices
responsive-design

Angular/material2 mat-spinner resize

javascript
responsive-design
best-practices
css

How to disable an input type=text?

javascript
prompt-engineering
best-practices
security

How to get JQuery.trigger('click'); to initiate a mouse click

javascript
event-delegation
event-handling
dom-manipulation

Simplest/cleanest way to implement a singleton in JavaScript

javascript
singleton
es6-classes
thread-safety

Es6 exporting/importing in index file

javascript
promises
callbacks
best-practices

Find the min/max element of an array in JavaScript

javascript
functions
performance
best-practices

How do I update/upsert a document in Mongoose?

javascript
mongoose
database
upsert

New line in JavaScript alert box

javascript
escape-sequences
alert-box
javascript-tips

Vue 2 - Mutating props vue-warn

javascript
vuejs
prop-mutation
reactivity