Explain Codes LogoExplain Codes Logo

Javascript

How to load image (and other assets) in an Angular project?

javascript
responsive-design
performance
best-practices

How do I remove the height style from a DIV using jQuery?

javascript
jquery
css
dom-manipulation

How can I declare optional function parameters in JavaScript?

javascript
functions
promises
callbacks

Use jquery to set value of div tag

javascript
jquery
html
javascript-usage

Convert JS date time to MySQL datetime

javascript
date-conversion
mysql-format
timezone-management

How can I reuse a navigation bar on multiple pages?

javascript
responsive-design
performance
best-practices

Execute JavaScript code stored as a string

javascript
eval-security
javascript-alternatives
vm-module

Babel 6 regeneratorRuntime is not defined

javascript
babel
polyfills
webpack

Removing All Non-Numeric Characters from a String in JavaScript

javascript
regex-patterns
string-manipulation
performance-optimization

How to get the image size (height & width) using JavaScript

javascript
image-api
image-dimensions
javascript-optimization

How to limit the maximum files chosen when using multiple file input

javascript
file-input
multiple-file-upload
javascript-best-practices

How to replace innerHTML of a div using jQuery?

javascript
dom-manipulation
jquery-syntax
performance-optimization

How do I integrate Ajax with Django applications?

javascript
ajax-integration
django-views
async-programming

Can one AngularJS controller call another?

javascript
event-driven-programming
angularjs
service-based-architecture

How do you use window.postMessage across domains?

javascript
cross-domain-communication
event-listeners
messageevent

How to check if a string array contains one string in JavaScript?

javascript
prompt-engineering
functions
best-practices

Dynamically creating a specific number of input form elements

javascript
dynamic-forms
input-elements
javascript-functions

How to access the first property of a Javascript object?

javascript
javascript-objects
property-access
object-properties

Using sections in Editor/Display templates

javascript
prompt-engineering
performance
best-practices

Detect HTTP or HTTPS then force HTTPS in JavaScript

javascript
browser-compatibility
https-redirection
ssl-tls-certificates