Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in Javascript
0
votes
0
example
186
views
q2a - add script into head
added
May 3, 2023
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
q2a
meta
google
0
votes
0
example
5,879
views
JS - use cookie to store state on Google Ad Manager, hide element when close button is clicked
added
Apr 17, 2023
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
js
jquery
cookies
cookie
dfp
ad-amanager
0
votes
0
example
143
views
JS - eslint auto correct for better readability and reducing redundancy
added
Apr 5, 2023
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
eslint
auto_correct
fixcode
ai
0
votes
0
example
235
views
JS - target blank with javascript
added
Oct 12, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
js
javascript
react
targetblank
0
votes
0
example
211
views
JS - to limit arrays with slice()
added
Sep 26, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
array
key
api
json
slice
js
0
votes
0
example
150
views
JS - disable right click
added
May 23, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
windows
inspect-element
right-click
0
votes
0
example
186
views
JS - to remove all similar character from a string
added
Mar 18, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
string
replace
js
react
0
votes
0
example
174
views
JS - uppercase to a string
added
Mar 18, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
uppercase
react
js
0
votes
0
example
173
views
JS - window.location built-in property
added
Mar 17, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
url
currentpage
currenturl
location
windows
0
votes
0
example
141
views
JS - if URL contains of this string
added
Mar 11, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
url
javascript
string
contain
0
votes
1
example
517
views
JS - combine string and variable with backtick
responded
Mar 11, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
backtick
combine
string
dynamic
nondynamic
output
0
votes
1
example
489
views
Redirection with js
responded
Mar 3, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
redirect
redirection
javascript
js
0
votes
0
example
130
views
JS - use includes() for div or text replacement
added
Jan 12, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
include
replace-text
url
0
votes
0
example
249
views
youtube API - to disable auto fullscreen on mobile
added
Sep 17, 2021
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
google
youtube
js
api
javascript
parameter
0
votes
0
example
142
views
JS - min. read parameter for linked in
added
Apr 23, 2021
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
linkedin
social
share
linkedin-param
parameter
0
votes
0
example
235
views
JS - Using PHP inside js code
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
php
js
javascript
output
0
votes
0
example
174
views
JS - get element by class name with getElementsByClassName
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
getelementsbyclassname
js
css
classname
class
0
votes
0
example
156
views
JS - function of get specific ID element in P element with getElementsByTagName
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
getelementsbytagname
js
id
0
votes
0
example
174
views
JS - Get specific element with querySelectorAll
added
Dec 16, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
js
queryselectorall
img
image
meta
0
votes
0
example
168
views
JS - Get img src with getElementById to id attribute
added
Dec 16, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
img
attr
js
getelementbyid
0
votes
0
example
187
views
JS - Replacing URL text into clickable link
added
Dec 6, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
replace
url
replaceurl
text
0
votes
0
example
152
views
JS - document.ready equivelant in plain Javascript function
added
Dec 6, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
documentready
js
jsready
manipulatedom
0
votes
1
example
457
views
$cookie - Hide app banner with cookie setting upon click close button
responded
May 15, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
jquery
js
cookie
cookies
plugin
0
votes
1
example
1,408
views
JS - Get specific slash value on URL with split()
responded
May 13, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
javascript
js
url
parameter
jquery
slash
split
0
votes
2
example
429
views
JS Basic - What is parameter
responded
Apr 20, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
11,850
points)
js
parmeter
javascript
0
votes
6
example
575
views
JS - Logical operators OR || AND && NOT!
responded
Oct 24, 2019
in
Javascript
by
LC Marshal
Captain
(
25,790
points)
javascript
js
operator
logical
or
and
not
0
votes
1
example
343
views
JS - if element exist or present
responded
Aug 8, 2019
in
Javascript
by
LC Marshal
Captain
(
25,790
points)
javascript
if
exist
present
js
check
0
votes
2
example
293
views
JS - replace character
responded
Aug 6, 2019
in
Javascript
by
anonymous
javascript
js
replace
character
0
votes
2
example
389
views
jQuery .change event
responded
Jul 16, 2019
in
Javascript
by
LC Marshal
Captain
(
25,790
points)
jquery
js
change
event
select
val
value
text
input
0
votes
2
example
385
views
JS - get current URL
responded
Jul 3, 2019
in
Javascript
by
LC Marshal
Captain
(
25,790
points)
currenturl
url
currentpage
location
To see more, click for all the
reference in this category
.
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
All categories
API
(34)
React
(145)
Javascript
(98)
Next JS
(10)
jQuery
(176)
CSS
(138)
SCSS
(23)
UI design
(1)
Vue
(25)
JSX
(10)
ES6
(8)
Regex
(6)
PHP
(61)
mySQL
(9)
Drupal
(15)
Bootstrap
(22)
Repository
(37)
Software & tools
(38)
Google tools
(28)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(7)
Database
(2)
Domain & hosting
(16)
Elixir
(1)
HTML
(21)
Networking
(4)
Python
(0)
Server issues
(9)
VM & Remote desktop
(2)
VSCode
(6)
Windows
(10)
XSLT
(5)
General
(868)
...