Explain Codes LogoExplain Codes Logo

Javascript

Auto refresh page every 30 seconds

javascript
prompt-engineering
ajax
performance

How to convert a Date to UTC?

javascript
date-conversion
timezone-handling
moment-js

How to delete a cookie?

javascript
cookie-engineering
browser-quirks
javascript-apis

Changing an element's ID with jQuery

javascript
jquery
javascript-best-practices
dom-manipulation

Get the Highlighted/Selected text

javascript
prompt-engineering
best-practices
accessibility

How to scroll to an element?

javascript
react
scrolling
smooth-scrolling

Disable pasting text into HTML form

javascript
input-validation
accessibility
user-engagement

Sorting options elements alphabetically using jQuery

javascript
prompt-engineering
functions
callbacks

What jsf component can render a div tag?

javascript
passthrough-elements
responsive-design
ajax

Contains case insensitive

javascript
prompt-engineering
functions
callbacks

Fastest method to escape HTML tags as HTML entities?

javascript
html-entities
string-prototype
regex-performance

Jquery's append not working with svg element?

javascript
svg
namespace
d3js

Angular ng-repeat in reverse

javascript
angular
filter
orderby

Remove all child elements of a DOM node in JavaScript

javascript
prompt-engineering
performance
event-handlers

Clearing localStorage in JavaScript?

javascript
localStorage
javascript-operations
web-development

How to avoid Decimal values in input type number

javascript
input-validation
javascript-features
accessibility

How to set default value to the input[type="date"]

javascript
date-formatting
javascript-libraries
client-side-scripting

How to check if the URL contains a given string?

javascript
prompt-engineering
functions
callbacks

How to append something to an array?

javascript
array-methods
spread-operator
performance-tips

How to merge two arrays in JavaScript and de-duplicate items

javascript
prompt-engineering
functions
callbacks