0
Does not work script.
DOM lesson3,first example does not work, if I use it on PC. And any another script, like that too. I am very confused about that.
7 Respostas
+ 3
I am getting right result. That may be because of cache in browser. Please clear cache than run, if there is again a problem please reply
+ 2
Please show your code, sir
0
<html>
<body>
<a id="hrf" href="https://vk.com">link</a>
<script type="text/javascript">
var el=document.getElementById("hrf");
el.href="https://facebook.com";
</script>
</body>
</html>
//link still goes on vk.com
0
problem stays.
0
You need:
var = ***
0
Correction on earlier comment:
Leave a space.:
var __ = ***
0
Indent!!!!