views:

98

answers:

1

Hi all.. 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... thanks in advance

+1  A: 

In your event handler, try

event.returnValue = false;

See this SO thread: http://stackoverflow.com/questions/1000597/event-preventdefault-function-not-working-in-ie-any-help

Robusto