You could store the style (Element.store()), and then retrieve
(Element.retrieve()) on hover?

On Jun 2, 10:30 pm, ankit <[email protected]> wrote:
> One problem that I have faced consistently is that whenever I am
> hovering over a link and I try and get that element's style
> attributes, I get it's 'a:hover' properties. Instead, what I want is
> to get the 'a' style attributes and not 'a:hover'.
>
> Is there any way I could get the link's style attributes ( a and not
> a:hover ) when I'm hovering over it?
>
> When it's the other way round, i.e. when I'm hovering over a link and
> I try and set it's style attributes, then a's style attributes are set
> and not a:hover's.

Reply via email to