Answer the question
In order to leave comments, you need to log in
How to remember the address of a javascript link when hovering over a block?
Good afternoon. How to do such a thing - it is necessary that when hovering over a link, javascript gets its href value into a variable. The link is in a div.
For example:
<div class"DSA">
<a href="http://yyyyyy.com/12321312sadsda" class="name"> 123123</a>
</div>
<a href="http://yyyyyy.com/12321312sadsda" class="name"> 123123</a>
Answer the question
In order to leave comments, you need to log in
An example of how to work with frame elements. If the frame is loaded by src, then access to its window will be only if the protocol, port and domain match the main window. This is due to the browser's security policy.
You can't access the browser hover tooltip. In fact, it is also formed from href, albeit regardless of its presence in the frame.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question