Skip to main content

Bug Tracker

Side navigation

Ticket #3288: test.html
File test.html, 0.4 KB (added by grosser, September 30, 2008 02:34PM UTC)

this should reproduce the error, hide x in ff, but not in ie6

<html>
  <head>
    <script type="text/javascript" src="http://dev.jquery.com/chrome/common/js/jquery.js"></script>
    <script>
      $(function(){
        $('a').click(function(){
          $($(this).attr('href')).hide();
          alert('be gone');
        })
      });
    </script>
  </head>
  <body>
     <a href="#x">xxx</a>
     <div id="x"> i am x</div>
  </body>
</html>

Download in other formats:

Original Format