Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in Javascript
0
votes
0
example
592
views
JS - Condition to hide when the key is empty or null
added
Jun 17, 2025
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
condition
js
0
votes
0
example
594
views
JS - Decimal and comma for price
added
Mar 29, 2025
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
decimal
javascript
comma
0
votes
0
example
256
views
JS - Force caplitalise elements from uppercase
added
Oct 9, 2024
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
css
capitalise
uppercase
0
votes
0
example
337
views
JS - change iframe body style for vanilla and jQuery
added
May 15, 2024
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
css
iframe
0
votes
0
example
478
views
q2a - add script into head
added
May 3, 2023
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
q2a
meta
google
0
votes
0
example
6,946
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
Lieutenant
(
12,520
points)
js
jquery
cookies
cookie
dfp
ad-amanager
0
votes
0
example
381
views
JS - eslint auto correct for better readability and reducing redundancy
added
Apr 5, 2023
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
eslint
auto_correct
fixcode
ai
0
votes
0
example
519
views
JS - target blank with javascript
added
Oct 12, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
js
javascript
react
targetblank
0
votes
0
example
507
views
JS - to limit arrays with slice()
added
Sep 26, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
array
key
api
json
slice
js
0
votes
0
example
399
views
JS - disable right click
added
May 23, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
windows
inspect-element
right-click
0
votes
0
example
481
views
JS - to remove all similar character from a string
added
Mar 18, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
string
replace
js
react
0
votes
0
example
461
views
JS - uppercase to a string
added
Mar 18, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
uppercase
react
js
0
votes
0
example
418
views
JS - window.location built-in property
added
Mar 17, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
url
currentpage
currenturl
location
windows
0
votes
0
example
421
views
JS - if URL contains of this string
added
Mar 11, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
url
javascript
string
contain
0
votes
1
example
961
views
JS - combine string and variable with backtick
responded
Mar 11, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
backtick
combine
string
dynamic
nondynamic
output
0
votes
1
example
852
views
Redirection with js
responded
Mar 3, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
redirect
redirection
javascript
js
0
votes
0
example
390
views
JS - use includes() for div or text replacement
added
Jan 12, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
include
replace-text
url
0
votes
0
example
544
views
youtube API - to disable auto fullscreen on mobile
added
Sep 17, 2021
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
google
youtube
js
api
javascript
parameter
0
votes
0
example
393
views
JS - min. read parameter for linked in
added
Apr 23, 2021
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
linkedin
social
share
linkedin-param
parameter
0
votes
0
example
522
views
JS - Using PHP inside js code
added
Dec 17, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
php
js
javascript
output
0
votes
0
example
450
views
JS - get element by class name with getElementsByClassName
added
Dec 17, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
getelementsbyclassname
js
css
classname
class
0
votes
0
example
401
views
JS - function of get specific ID element in P element with getElementsByTagName
added
Dec 17, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
getelementsbytagname
js
id
0
votes
1
example
997
views
$cookie - Hide app banner with cookie setting upon click close button
responded
May 15, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
jquery
js
cookie
cookies
plugin
0
votes
1
example
1,924
views
JS - Get specific slash value on URL with split()
responded
May 13, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
javascript
js
url
parameter
jquery
slash
split
0
votes
2
example
941
views
JS Basic - What is parameter
responded
Apr 20, 2020
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
js
parmeter
javascript
0
votes
6
example
1,344
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
754
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
754
views
JS - replace character
responded
Aug 6, 2019
in
Javascript
by
anonymous
javascript
js
replace
character
0
votes
2
example
733
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
876
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
(39)
React
(152)
Javascript
(102)
Next JS
(11)
jQuery
(176)
CSS
(147)
SCSS
(25)
UI design
(1)
Vue
(25)
JSX
(14)
ES6
(8)
Regex
(6)
PHP
(62)
mySQL
(9)
Drupal
(15)
Bootstrap
(22)
Repository
(43)
Software & tools
(38)
Google tools
(31)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(7)
Database
(3)
Domain & hosting
(16)
Elixir
(1)
HTML
(23)
Networking
(4)
Python
(0)
Server issues
(13)
VM & Remote desktop
(2)
VSCode
(7)
Windows
(11)
XSLT
(5)
General
(868)
...