Explain Codes LogoExplain Codes Logo

Javascript

Chrome Ignores Autocomplete="Off"

javascript
prompt-engineering
autocomplete
browser-behavior

"uncaught TypeError: a.indexOf is not a function" error when opening new foundation project

javascript
prompt-engineering
linting
debugging

Scroll to an element with jQuery

javascript
scrolling
animation
smooth-scrolling

Set a default parameter value for a JavaScript function

javascript
default-parameters
function-signatures
destructuring

Getting all selected checkboxes in an array

javascript
dom-querying
event-delegation
vanilla-javascript

How do I auto-submit an upload form when a file is selected?

javascript
event-listener
form-submission
vanilla-javascript

How can I get last characters of a string

javascript
negative-indexing
string-extraction
performance-optimization

How do I declare a namespace in JavaScript?

javascript
prompt-engineering
best-practices
functions

How can I make an AJAX call without jQuery?

javascript
ajax
http-requests
async-communication

How can I remove a specific item from an array in JavaScript?

javascript
prompt-engineering
functions
callbacks

How can I create a two-dimensional array in JavaScript?

javascript
2d-arrays
javascript-arrays
array-creation

Regex for password must contain at least eight characters, at least one number and both lower and uppercase letters and special characters

javascript
regex
password-validation
security

$(this).val() not working to get text from span using jquery

javascript
event-handling
jquery
selectors

Go to "next" iteration in JavaScript forEach loop

javascript
promises
callbacks
best-practices

How to do case insensitive string comparison?

javascript
case-insensitive-string-comparison
localecompare
regular-expression

Store JSON object in data attribute in HTML jQuery

javascript
prompt-engineering
data-attribute
json

How do I test for an empty JavaScript object?

javascript
javascript-objects
object-detection
performance-optimization

How to round to at most 2 decimal places, if necessary

javascript
rounding
floating-point
precision

Angular 2: Form submission canceled because the form is not connected

javascript
form-validation
angular
best-practices

Flask - Calling python function on button OnClick event

javascript
ajax
flask
javascript