Explain Codes LogoExplain Codes Logo

Javascript

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

How can I trigger a Bootstrap modal programmatically?

javascript
modal-programming
bootstrap-modal
javascript-events

Check if element is a div

javascript
element-checking
instanceof
dom-methods

Angularjs passing data to $http.get request

javascript
promises
callbacks
async-programming

'setinterval' vs 'setTimeout'

javascript
timers
async-programming
best-practices

Can local storage ever be considered secure?

javascript
prompt-engineering
best-practices
web-development

Launch Bootstrap Modal on Page Load

javascript
modal
bootstrap
javascript-events

Can scripts be inserted with innerHTML?

javascript
prompt-engineering
security
performance

How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?

javascript
async-programming
ajax-requests
javascript-techniques

How to handle anchor hash linking in AngularJS

javascript
scrolling-behavior
angularjs-routing
hash-linking

Cypress: Test if element does not exist

javascript
async-operations
test-automation
cypress

Angular 2 Checkbox Two-Way Data Binding

javascript
two-way-data-binding
angular-2
checkbox

Trigger event when user scroll to specific element - with jQuery

javascript
event-listening
scrolling
jquery

Selecting and manipulating CSS pseudo-elements such as ::before and ::after using javascript (or jQuery)

javascript
prompt-engineering
functions
callbacks