Home Set Hyperlink to a Variable- update variable all hyperlinks update
Reply: 0

Set Hyperlink to a Variable- update variable all hyperlinks update

user601
1#
user601 Published in June 23, 2018, 7:57 am

I have a website where there is the same hyperlink(URL) shown on multiple pages and different locations. How can I set the hyperlink to a variable, store that variable somewhere then when I need to change the URL all I need to do is update the variable resulting in all hyperlinks pointing to that variable updating as well. rather than manually changing the hyperlink on every location on the site?

Hope this makes sense,

please post answers using the following methods 1- HTML 2- JavaScript 3-JQuery 4- (something I forgot to add to list but is easy to implement)

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.307819 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO