93
rated 0 times
[
100]
[
7]
/ answers: 1 / hits: 59502
/ 5 Years ago, tue, march 12, 2019, 12:00:00
I have big html document with various images with href and src.
I want to declare their href and src so as to change only their var values. something like...
<script>
var imagehref = www.url.com;
var imagesrc = www.url.com/img.pg;
</script>
HTML Part:
<html>
<a href=imagehref><img src=imagesrc /> </a>
</html>
What is the correct syntax/way to do it?
More From » html