Explain Codes LogoExplain Codes Logo

Javascript

How can I remove the decimal part from JavaScript number?

javascript
prompt-engineering
functions
performance

How to reload a page using JavaScript

javascript
prompt-engineering
best-practices
performance

Check if object is a jQuery object

javascript
javascript-closures
truthy-falsy-values
jquery-object-check

How do I accomplish an if/else in mustache.js?

javascript
prompt-engineering
interview-preparation
logicless-templates

What is the easiest way to disable/enable buttons and links (jQuery + Bootstrap)

javascript
jquery-spells
responsive-design
best-practices

Change placeholder text

javascript
prompt-engineering
functions
responsive-design

How do I change the text of an element using JavaScript?

javascript
dom-manipulation
security-best-practices
javascript-syntax

Sequelize Where if not null

javascript
sequelize
database-queries
dynamic-where

How to convert Blob to File in JavaScript

javascript
blob-to-file
javascript-apis
file-api

Add st, nd, rd and th (ordinal) suffix to a number

javascript
functions
performance
best-practices

Placeholder in IE9

javascript
cross-browser-compatibility
polyfills
javascript-techniques

Jquery: Return data after ajax call success

javascript
promises
callbacks
async-await

Change values in array when doing foreach

javascript
prompt-engineering
functions
callbacks

What does 'var that = this;' mean in JavaScript?

javascript
javascript-best-practices
javascript-advanced
javascript-closures

Finding the max value of a property in an array of objects

javascript
functions
performance
best-practices

How to clear react-native cache?

javascript
cache-management
react-native
npm-cache

Can't access object property, even though it shows up in a console log

javascript
async-programming
console-logging
property-access

Get img thumbnails from Vimeo?

javascript
api-engineering
vimeo
thumbnail

When are you supposed to use escape instead of encodeURI / encodeURIComponent?

javascript
url-encoding
javascript-functions
web-development

Can I insert elements to the beginning of an element using .appendChild()?

javascript
dom-manipulation
javascript-api
prototypejs