-1

Possible Duplicate:
Why does .fireEvent() not work in IE9?

Why these two statements are not synonymous? this.button.click(); and this.button.fireEvent('click');

When I execute the first statement, it internally calls the second statement. But when I execute the second statement, it does not call the first statement internally. Why is this?

Community
  • 1
  • 1
Victor
  • 16,609
  • 71
  • 229
  • 409

1 Answers1

0

You can't have them call each other. Else, you'll be stuck in an infinite loop where they keep calling each other

Chetter Hummin
  • 6,687
  • 8
  • 32
  • 44