Indeed, if I use bind.click() it does work... but when I use inline
onclick binding - it isn't....
Here is the code (ok in FF, not ok in IE):
<code>
<html>
  <head>
    <script>
    //this way it does not work in IE
    function testClick(e) {
      if (e.clientX) {
          alert('Realclick');
      } else {
          alert('Triggeredclick');
      }
    }
    </script>
  </head>
  <body>
    < a href="#" onclick="testClick(event)">test</ a>
    <input type="button" onclick="$('a').click();"/>
  </body>
</html>


Anyway Klaus, thank you very much!

On May 22, 9:28 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Alex Objelean wrote:
> > This solution is good for Firefox, but does not work in IE.. :(
> > Other tips?
>
> This solution works perfectly fine for the Tabs plugin in all major
> browsers. So maybe something is wrong with your code...
>
> -- Klaus

Reply via email to