Set attr error in IE 8
Set attr error in IE 8
Hello guys,
I'm tried to set attribute for <a> element by code: $('#aID').attr('href', url);
It's work good in Firefox. But, in IE8 occur a bug:
- href attribute have no change
- instead, an attribute added in <a>: jQuery15038535942919934396="354"
Sometime, href attribute have change (view in Developer Tool), but click on <a> , it not is new value, it's old value.
This bug also happen with TR tag when i try to set bgcolor attribute.
Why? Please help me about this case.
Thanks.