Explain Codes LogoExplain Codes Logo

Javascript

How to use jQuery to select a dropdown option?

javascript
jquery
dropdown
event-simulation

Print the contents of a DIV

javascript
print
dynamic-content
cross-browser

Href image link download on click

javascript
download
server-side
browser-compatibility

How to create a dictionary and add key value pairs dynamically in JavaScript

javascript
dictionary
dynamic-keys
object-methods

Iterate through object properties

javascript
object-iteration
destructuring
modern-js

Jasmine JavaScript Testing - toBe vs toEqual

javascript
jasmine
matchers
testing

Make a link open a new window (not tab)

javascript
window-open
pop-up-blockers
browser-behaviors

Endswith in JavaScript

javascript
endswith
performance
regex

Javascript Form Submit - Confirm or Cancel Submission Dialog Box

javascript
form-validation
user-experience
dialog-box

What is the "right" JSON date format?

javascript
json
iso-8601
date-handling

Most efficient way to create a zero filled JavaScript array?

javascript
array-initialization
performance
typed-arrays

Local Storage vs Cookies

javascript
local-storage
cookies
web-apps

I am getting an "Invalid Host header" message when connecting to webpack-dev-server remotely

javascript
webpack
dev-server
remote-access

Generate random string/characters in JavaScript

javascript
random-string
crypto
best-practices

Switch Statement for Multiple Cases in JavaScript

javascript
switch-statement
higher-order-functions
best-practices

Scrollintoview Scrolls just too far

javascript
scrolling
css-properties
smooth-scroll

Copy array by value

javascript
array-cloning
shallow-copy
deep-copy

How to remove an item from an array in AngularJS scope?

javascript
array-manipulation
angularjs
callback

Jquery get the rendered height of an element?

javascript
height
jquery
css-transforms

Javascript: How can I generate formatted easy-to-read JSON straight from an object?

javascript
json-stringify
replacer-function
web-development