Hi, i used your code but its not working in IE7.

On Thu, Jan 6, 2011 at 11:25 AM, Santosh <[email protected]> wrote:

> Hi
> Yes u can do it with java script in index.template under script tag
> call showKeyCode mehtod in kyeDown of body tag
> function showKeyCode(e)
> {
>        alert("Inside function showKeyCode(e)");
>        var keycode =(window.event) ? event.keyCode : e.keyCode;
>        if(keycode == 116)
>        {
>        event.keyCode = 0;
>        event.returnValue = false;
>        return false;
>         }
> }
>
> On Jan 5, 10:02 pm, Ranjit <[email protected]> wrote:
> > Yes
> >
> > Use javaScript in index.htmltemplate folder
> > onUnload() {
> > alert("Do you really want to go away");
> >
> > }
> >
> > On Jan 5, 9:21 am, denimabhishek <[email protected]> wrote:
> >
> > > Hi All,
> >
> > > I need some help.I have one flex application. Suppose when a user opts
> > > to refresh a screen, they receive an alert message and are taken out
> > > of th program.  Is it possible to give the option to "Cancel" so that
> > > the user can cancel the request and remain in the program?
> >
> > > Thanks in advance.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Regards

Abhishek Singh
09999778070

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to