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.

20th Nov 2016, 3:18 PM
Alex
Alex - avatar
7 Antworten
+ 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
20th Nov 2016, 4:05 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
Please show your code, sir
20th Nov 2016, 3:33 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
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
20th Nov 2016, 3:45 PM
Alex
Alex - avatar
0
problem stays.
20th Nov 2016, 4:15 PM
Alex
Alex - avatar
0
You need: var = ***
26th Dec 2016, 9:42 PM
Bailey Matthews
Bailey Matthews - avatar
0
Correction on earlier comment: Leave a space.: var __ = ***
26th Dec 2016, 9:42 PM
Bailey Matthews
Bailey Matthews - avatar
0
Indent!!!!
26th Dec 2016, 9:43 PM
Bailey Matthews
Bailey Matthews - avatar