•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,284 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 5,250 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1482 | Replies: 4
![]() |
| |
•
•
Join Date: Mar 2008
Posts: 34
Reputation:
Rep Power: 1
Solved Threads: 0
hi,
In my internet explorer the onclick =window .close() is working in my home(i have used html control instead of asp control).. but in my office its not working because here we r using mozilla firefox...but here too its working in internet explorer..but i need to show this in mozilla browser
so any one can help me to do this....
In my internet explorer the onclick =window .close() is working in my home(i have used html control instead of asp control).. but in my office its not working because here we r using mozilla firefox...but here too its working in internet explorer..but i need to show this in mozilla browser
so any one can help me to do this....
•
•
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,124
Reputation:
Rep Power: 3
Solved Threads: 47
I wish I had your brain SheSaidImaPreggy lol! was wanting this answer too!
Last edited by majestic0110 : Mar 31st, 2008 at 2:48 pm.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
•
•
Join Date: Sep 2007
Posts: 1,057
Reputation:
Rep Power: 4
Solved Threads: 61
To avoid errors, you should put it into a function:
function tryClose()
{
Try
{
window.close();
}catch(e){
this.close();
}
} I answer pm's.
I answer questions.
I answer quickly.
I answer.
I answer questions.
I answer quickly.
I answer.
•
•
Join Date: Jun 2006
Posts: 12
Reputation:
Rep Power: 3
Solved Threads: 0
try
javascript:window.open(’javascript:window.close();’,'_self’,'’);
and please refer to this link for more details
http://www.interwebby.com/blog/2006/02/04/3/
javascript:window.open(’javascript:window.close();’,'_self’,'’);
and please refer to this link for more details
http://www.interwebby.com/blog/2006/02/04/3/
Thanks,
Hosam Kamel
Hosam Kamel
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
age avatar beta blue gene bon browser browsers chips database development dos echo economy email encryption energy enterprise firefox hardware ibm ibm. news intel ibm internet it linux medicine memory microsoft mozilla news open source pc ps3 recession red hat russia security sun supercomputer supercomputing technology testing thunderbird trends ubuntu web webmail windows working x86
- Previous Thread: asp.net
- Next Thread: Example of Inserting and Retrieving data from xml file



Hybrid Mode