#passvaluetoanotherpage
Welcome to Credible Academy Youtube Channel, In this session we will talk about how to pass data share data between two html pages using query string.
let's talk about how we can do this let's suppose we have two html pages one is index.html and second is result.html
using anchor tag in index.html and putting link of result.html following ?(Question mark) with" id = 1" when you click on this link it will take you to the result.html page with the I'd in the url, this is called query String, now what we have to do is to get this id from url by using javascript function window.location.search it give you string like ?id=1
Thanks for Watching !
Follow us on
----------------------
Join us for exciting content and don't forget to like, subscribe, and share!"
Subscribe to our Channel :
Like Facebook Page : / credibleacedemy
Follow us on Instagram : / credible_academy
LinkedIn : / mohsin-ahmad-0bb8085b
Review - https://www.facebook.com/credibleaced...
FB - / credibleacedemy