Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in Javascript
0
votes
0
example
103
views
q2a - add script into head
added
May 3
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
q2a
meta
google
0
votes
0
example
130
views
JS - use cookie to store state on Google Ad Manager, hide element when close button is clicked
added
Apr 17
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
js
jquery
cookies
cookie
dfp
ad-amanager
0
votes
0
example
84
views
JS - eslint auto correct for better readability and reducing redundancy
added
Apr 5
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
eslint
auto_correct
fixcode
ai
0
votes
0
example
175
views
JS - target blank with javascript
added
Oct 12, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
js
javascript
react
targetblank
0
votes
0
example
166
views
JS - to limit arrays with slice()
added
Sep 26, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
array
key
api
json
slice
js
0
votes
0
example
100
views
JS - disable right click
added
May 23, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
windows
inspect-element
right-click
0
votes
0
example
130
views
JS - to remove all similar character from a string
added
Mar 18, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
string
replace
js
react
0
votes
0
example
128
views
JS - uppercase to a string
added
Mar 18, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
uppercase
react
js
0
votes
0
example
123
views
JS - window.location built-in property
added
Mar 17, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
url
currentpage
currenturl
location
windows
0
votes
0
example
93
views
JS - if URL contains of this string
added
Mar 11, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
url
javascript
string
contain
0
votes
1
example
432
views
JS - combine string and variable with backtick
responded
Mar 11, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
backtick
combine
string
dynamic
nondynamic
output
0
votes
1
example
399
views
Redirection with js
responded
Mar 3, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
redirect
redirection
javascript
js
0
votes
0
example
87
views
JS - use includes() for div or text replacement
added
Jan 12, 2022
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
include
replace-text
url
0
votes
0
example
200
views
youtube API - to disable auto fullscreen on mobile
added
Sep 17, 2021
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
google
youtube
js
api
javascript
parameter
0
votes
0
example
99
views
JS - min. read parameter for linked in
added
Apr 23, 2021
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
linkedin
social
share
linkedin-param
parameter
0
votes
0
example
178
views
JS - Using PHP inside js code
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
php
js
javascript
output
0
votes
0
example
122
views
JS - get element by class name with getElementsByClassName
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
getelementsbyclassname
js
css
classname
class
0
votes
0
example
113
views
JS - function of get specific ID element in P element with getElementsByTagName
added
Dec 17, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
getelementsbytagname
js
id
0
votes
0
example
128
views
JS - Get specific element with querySelectorAll
added
Dec 16, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
js
queryselectorall
img
image
meta
0
votes
0
example
123
views
JS - Get img src with getElementById to id attribute
added
Dec 16, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
img
attr
js
getelementbyid
0
votes
0
example
143
views
JS - Replacing URL text into clickable link
added
Dec 6, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
replace
url
replaceurl
text
0
votes
0
example
110
views
JS - document.ready equivelant in plain Javascript function
added
Dec 6, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
documentready
js
jsready
manipulatedom
0
votes
1
example
383
views
$cookie - Hide app banner with cookie setting upon click close button
responded
May 15, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
jquery
js
cookie
cookies
plugin
0
votes
1
example
1,280
views
JS - Get specific slash value on URL with split()
responded
May 13, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
javascript
js
url
parameter
jquery
slash
split
0
votes
2
example
358
views
JS Basic - What is parameter
responded
Apr 20, 2020
in
Javascript
by
lcjr
First Warrant Officer
(
9,530
points)
js
parmeter
javascript
0
votes
6
example
406
views
JS - Logical operators OR || AND && NOT!
responded
Oct 24, 2019
in
Javascript
by
LC Marshal
Captain
(
25,770
points)
javascript
js
operator
logical
or
and
not
0
votes
1
example
270
views
JS - if element exist or present
responded
Aug 8, 2019
in
Javascript
by
LC Marshal
Captain
(
25,770
points)
javascript
if
exist
present
js
check
0
votes
2
example
210
views
JS - replace character
responded
Aug 6, 2019
in
Javascript
by
anonymous
javascript
js
replace
character
0
votes
2
example
296
views
jQuery .change event
responded
Jul 16, 2019
in
Javascript
by
LC Marshal
Captain
(
25,770
points)
jquery
js
change
event
select
val
value
text
input
0
votes
2
example
289
views
JS - get current URL
responded
Jul 3, 2019
in
Javascript
by
LC Marshal
Captain
(
25,770
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
(25)
jQuery
(173)
Javascript
(98)
React
(92)
Vue
(25)
Next JS
(10)
JSX
(9)
ES6
(8)
Regex
(6)
PHP
(61)
mySQL
(9)
Drupal
(15)
SCSS
(23)
CSS
(123)
Bootstrap
(22)
Repository
(36)
Software & tools
(38)
Google tools
(27)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(6)
Database
(2)
Domain & hosting
(16)
Elixir
(1)
HTML
(21)
Mobile application
(1)
Networking
(4)
Python
(0)
Server issues
(6)
VM & Remote desktop
(2)
VSCode
(6)
Webpack
(0)
Windows
(9)
XSLT
(5)
Angular JS
(0)
General
(875)
...