2

I'm using hotkeys (Ctrl+key) in my flex application. getting problem when my app is running in IE. when I press Ctrl+D, im getting 'Add a Favorite' window of IE.

How should I override the default behaviour of the browser? if possible, give me some example.

Maciej
  • 21,919
  • 3
  • 20
  • 23
madanmohan
  • 31
  • 3

1 Answers1

1

In your event handler, try

event.returnValue = false;

See this SO thread: event.preventDefault() function not working in IE

Community
  • 1
  • 1
Robusto
  • 31,447
  • 8
  • 56
  • 77