Skip to content

Commit 2bbb43a

Browse files
authored
Create web.md
1 parent cf58acc commit 2bbb43a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Loop through elements, add an attribute
2+
```js
3+
[].forEach.call(document.querySelectorAll('input'), function(input) {
4+
input.setAttribute("spellcheck", "false")
5+
});
6+
```

0 commit comments

Comments
 (0)