Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in Javascript
0
votes
0
example
493
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
501
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
228
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
308
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
459
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,891
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
350
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
480
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
459
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
370
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
438
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
425
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
390
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
378
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
911
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
827
views
Redirection with js
responded
Mar 3, 2022
in
Javascript
by
lcjr
Lieutenant
(
12,520
points)
redirect
redirection
javascript
js
0
votes
0
example
351
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
513
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
366
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
490
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
410
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
377
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
916
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,858
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
887
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,221
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
707
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
691
views
JS - replace character
responded
Aug 6, 2019
in
Javascript
by
anonymous
javascript
js
replace
character
0
votes
2
example
688
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
803
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)
...