Hello,

I can't seem to use attr to set the style of an element on IE6. Is this an
expected behaviour? Why?


<html>
   <head>
       <script type="text/javascript" src="jquery.js"></script>
       <script type="text/javascript">

           $(document).ready(function(){
               $("#abc_xpto").attr("href", "http://www.xpto.com";);
               $("#abc_show").attr("style", "abc");

           });
       </script>
   </head>

   <body>
       <a id="abc_xpto" href="#">MI toca vai!</a>
       <div id="abc_show" style="display: block;">
           Cucu
       </div>
   </body>
</html>

--
Os melhores cumprimentos
Rui Pedro Alves
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to