Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Get QueryString Variable Value by Javascript
WhatsApp
Rachit Patel
4y
7.1
k
0
0
25
Blog
function
getQueryVariable(a) {
var
c = window.location.search.substring(1);
var
d = c.split(
"&"
);
for
(
var
b = 0; b < d.length; b++) {
var
e = d[b].split(
"="
);
if
(e[0] == a) {
return
e[1]
}
}
}
var
StopVideo = getQueryVariable(
"StopVideo"
);
Get QueryString Variable Value by Javascript
Up Next
Get And Set Variable Values From One JavaScript File To Another JavaScript File Using Local Storage
Ebook Download
View all
JavaScript Interview Q & A
Read by 832 people
Download Now!
Learn
View all
Membership not found