Explain Codes LogoExplain Codes Logo

Javascript

How to get current date in jQuery?

javascript
date-formatting
jquery-ui
date-parsing

How to get base url with jquery or javascript?

javascript
url-manipulation
window-location
base-url

How to get an element's top position relative to the browser's viewport?

javascript
getboundingclientrect
positioning
viewport

How to generate range of numbers from 0 to n in ES2015 only?

javascript
promises
callbacks
lazy-evaluation

How to force a script reload and re-execute?

javascript
prompt-engineering
functions
performance

How to force an HTML form to validate without submitting it via jQuery

javascript
validation
form-validation
jquery

How to force a functional React component to render?

javascript
state-driven-design
react-hooks
force-rendering

How to find if div with specific id exists in jQuery?

javascript
event-binding
dom-manipulation
vanilla-js

How to evaluate a math expression given in string form?

javascript
prompt-engineering
math-expression-evaluation
parser-libraries

How to escape regular expression special characters using JavaScript?

javascript
regex
javascript-regex
security

How to enable CORS in flask

javascript
cross-origin-resource-sharing
flask
cors

How to duplicate object properties in another object?

javascript
deep-copying
shallow-copying
object-cloning

How to download a file with Node.js (without using third-party libraries)?

javascript
promises
callbacks
best-practices

How to download a file in React JS

javascript
cors-proxy
axios
file-download

How to do a Jquery Callback after form submit?

javascript
ajax
callbacks
promises

How to display an image stored as byte array in HTML/JavaScript?

javascript
base64-encoding
image-handling
performance-optimization

How to dispatch a Redux action with a timeout?

javascript
async-operations
redux-patterns
saga-pattern

How to disable scrolling temporarily?

javascript
scrolling
touchmove
performance

How to disable/enable select field using jQuery?

javascript
functions
callbacks
responsive-design

How To Determine Which Submit Button Was Pressed, Form onSubmit Event, Without jQuery

javascript
event-handling
form-submission
javascript-techniques