Explain Codes LogoExplain Codes Logo

Javascript

Ng-model does not update controller value

javascript
ng-model
angularjs
scope

How to delete a localStorage item when the browser window/tab is closed?

javascript
localstorage
sessionstorage
onbeforeunload

How to dynamically change a webpage's title?

javascript
dynamic-title
seo
performance

Firebug-like debugger for Google Chrome

javascript
devtools
debugging
web-development

How do I view events fired on an element in Chrome DevTools?

javascript
devtools
event-monitoring
custom-events

How to check if a string is a valid JSON string?

javascript
json-validation
error-handling
data-structure

Check if a variable is of function type

javascript
typeof
instanceof
function-check

Get class name using jQuery

javascript
jquery
dom-manipulation
event-handling

Is there some way I can "join" the contents of two JavaScript arrays much like I would do a join in SQL?

javascript
array-join
performance
functions

Check if a variable is a string in JavaScript

javascript
string-validation
best-practices
unit-testing

How to auto-scroll to end of div when data is added?

javascript
auto-scroll
ajax
performance

How to Simulate a Click with JavaScript?

javascript
click
event-delegation
custom-events

Show loading screen when navigating between routes in Angular 2

javascript
loading-screen
rxjs
navigation

Convert string to number and add one

javascript
string-conversion
input-validation
increment

Set the Default Value of an Input Field

javascript
input-fields
default-values
user-experience

How to create `` dynamically

javascript
input-creation
form-handling
user-experience

Mailto link multiple body lines

javascript
mailto
url-encoding
email-clients

Refresh Part of Page (div)

javascript
ajax
dom-manipulation
performance

How to format a float in JavaScript?

javascript
tofixed
number-formatting
rounding

Is it possible to write data to file using only JavaScript?

javascript
file-handling
downloads
blob