Explain Codes LogoExplain Codes Logo

Javascript

How can I get file extensions with JavaScript?

javascript
file-extensions
javascript-functions
performance-optimization

How do I handle newlines in JSON?

javascript
json-stringification
escape-characters
json-parsing

How to prevent form from being submitted?

javascript
event-handling
form-submission
javascript-best-practices

Using Phonegap for Native Application Development

javascript
mobile-development
phonegap
cordova

Can I open a dropdownlist using jQuery

javascript
ui-components
dropdown
jquery

Get querystring from URL using jQuery

javascript
prompt-engineering
functions
callbacks

Bootstrap throws Uncaught Error: Bootstrap's JavaScript requires jQuery

javascript
script-inclusion
jquery
bootstrap

Making a javascript string sql friendly

javascript
sql-injection
string-escaping
node-js

How to get the title of HTML page with JavaScript?

javascript
prompt-engineering
functions
callbacks

Reverse of JSON.stringify?

javascript
json-parse
error-handling
safe-deserialization

Get protocol, domain, and port from URL

javascript
url-api
web-workers
url-parsing

Set date in input type date

javascript
prompt-engineering
functions
callbacks

Jquery click events firing multiple times

javascript
event-delegation
event-handling
javascript-best-practices

How to access the request body when POSTing using Node.js and Express?

javascript
express
middleware
request-handling

How to properly unload/destroy a VIDEO element

javascript
memory-leaks
video-element
browser-performance

Is there a way to check if geolocation has been DECLINED with Javascript?

javascript
prompt-engineering
permissions-api
geolocation

Es6 class variable alternatives

javascript
class-fields
getters-and-setters
performance-implications

How to determine if a number is odd in JavaScript

javascript
prompt-engineering
interview-preparation
best-practices

How to get the entire document HTML as a string?

javascript
web-development
xmlserializer
dom-tree

How can I pad a value with leading zeros?

javascript
prompt-engineering
functions
performance