Explain Codes LogoExplain Codes Logo

Javascript

Adding data attribute to DOM

javascript
prompt-engineering
functions
callbacks

How to apply !important using .css()?

javascript
prompt-engineering
functions
callbacks

Can you call ko.applyBindings to bind a partial view?

javascript
prompt-engineering
knockoutjs
view-models

Onclick open window and specific size

javascript
popup-blockers
cross-browser-compatibility
responsive-design

How to check if a string contains text from an array of substrings in JavaScript?

javascript
prompt-engineering
functions
callbacks

Uploading both data and files in one form using Ajax?

javascript
ajax
form-data
file-upload

How to use Checkbox inside Select Option

javascript
javascript-features
event-listeners
dom-manipulation

Are double and single quotes interchangeable in JavaScript?

javascript
string-notation
template-literals
json

Removing HTML element styles via JavaScript

javascript
prompt-engineering
functions
event-delegation

Jquery $("#radioButton").change(...) not firing during de-selection

javascript
event-delegation
javascript-best-practices
jquery

How to initialize an array's length in JavaScript?

javascript
array-initialization
javascript-array
array-from

How to reset <input type = "file"> in Angular

javascript
form-control-methods
angular-forms
file-input-reset

Managing jQuery plugin dependency in webpack

javascript
webpack
javascript-plugins
dependency-management

Convert UTC date time to local date time

javascript
date-conversion
time-zone
moment-js

Table fixed header and scrollable body

javascript
sticky-header
scrollable-body
css-tricks

Setting "checked" for a checkbox with jQuery

javascript
jquery
checkbox
javascript-advanced

How to add a class to a given element?

javascript
prompt-engineering
functions
performance

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