Explain Codes LogoExplain Codes Logo

Javascript

Why does PowerShell not run Angular commands?

javascript
npm
angular-cli
powershell

Dropdownlist width in IE

javascript
responsive-design
performance
best-practices

How to make `` supported on all browsers? Any alternatives?

javascript
prompt-engineering
responsive-design
best-practices

How to resolve the C:\fakepath?

javascript
file-reader-api
file-upload
security-best-practices

Auto-size dynamic text to fill fixed size container

javascript
responsive-design
performance
best-practices

How do I cancel form submission in submit button onclick event?

javascript
event-listeners
form-validation
ajax

Jquery disable/enable submit button

javascript
event-handling
jquery
user-experience

Resize HTML5 canvas to fit window

javascript
responsive-design
performance
best-practices

How to do a wildcard element name match with "querySelector()" or "querySelectorAll()" in JavaScript?

javascript
xpath
regex
wildcard-matching

How to describe "object" arguments in jsdoc?

javascript
jsdoc
object-documentation
typescript

Regex to check whether a string contains only numbers

javascript
regex-patterns
string-validation
regular-expressions

Can I run JavaScript before the whole page is loaded?

javascript
async
defer
javascript-modules

How to get height of entire document with JavaScript?

javascript
prompt-engineering
performance
responsive-design

How do I chop/slice/trim off last character in string using Javascript?

javascript
functions
callbacks
promises

How to compute the sum and average of elements in an array?

javascript
functions
promises
callbacks

Using jQuery how to get click coordinates on the target element

javascript
event-delegation
click-coordinates
responsive-design

How can I group an array of objects by key?

javascript
reduce
groupby
lodash

What is the non-jQuery equivalent of '$(document).ready()'?

javascript
dom
utility-functions
promises

Get the last item in an array

javascript
array-methods
javascript-performance
utility-functions

Angular window resize event

javascript
rxjs
angular
event-handling