I want to close the browser on btn_cancel just like
this.close();
in window Aplication
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sanjeeb LenkaPosted Jun 26, 2013, 3:16 AM
this code will work in ie but some problem in firefox because the
script is not allowed to close browser in Firefox for that you have to change some values in firefox about.config file.
please set your firefox browser:
1.input "about:config " to your firefox address bar and enter;
2.make sure your "dom.allow_scripts_to_close_windows" is true
and check
Khargesh RajputPosted Jun 26, 2013, 2:55 AM
and sir is there any option for without using javascript
i have done all according to you
Sanjeeb LenkaPosted Jun 26, 2013, 2:13 AM
"Default.aspx" is the current page you need to close.
just modified the code according to your requirement .
If Any problem reply