Explain Codes LogoExplain Codes Logo

Javascript

How to get a URL parameter in Express?

javascript
express
middleware
routing

How do I convert a float number to a whole number in JavaScript?

javascript
math-functions
number-conversion
javascript-performance

How to change the size of mat-icon on Angular Material?

javascript
responsive-design
css-variables
viewport-units

How do I remove objects from a JavaScript associative array?

javascript
javascript-objects
array-manipulation
delete-operator

Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser

javascript
exporting-tables
cross-browser-support
data-uris

How can I write a test which expects an 'Error' to be thrown in Jasmine?

javascript
test-engineering
error-handling
jasmine-matchers

Working with $scope.$emit and $scope.$on

javascript
event-driven-programming
angularjs
best-practices

Why does my JavaScript code receive a "No 'Access-Control-Allow-Origin' header is present on the requested resource" error, while Postman does not?

javascript
cors
access-control-allow-origin
postman

What's the difference between '$(this)' and 'this'?

javascript
callback-functions
event-handling
jquery-objects

How to add images in select list?

javascript
responsive-design
promises
callbacks

How to submit a form with JavaScript by clicking a link?

javascript
event-listeners
form-submission
accessibility

Jquery: Get height of hidden element in jQuery

javascript
dom-manipulation
performance-optimization
css-inheritance

Angular 5, HTML, boolean on checkbox is checked

javascript
checkbox
angular
forms

How do I get the current time only in JavaScript

javascript
time-manipulation
date-object
local-time

What does the exclamation mark do before the function?

javascript
prompt-engineering
best-practices
functions

Use basic authentication with jQuery and Ajax

javascript
ajax
authentication
jquery

Angular 5 Button Submit On Enter Key Press

javascript
event-handling
angular-material
form-validation

Fastest way to duplicate an array in JavaScript - slice vs. 'for' loop

javascript
prompt-engineering
functions
performance

How to call loading function with React useEffect only once

javascript
use-effect
react-hooks
optimization

Prevent users from submitting a form by hitting Enter

javascript
form-handling
validation
accessibility