473,503 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

if(this.opener) means what?

40 New Member
Hi All
I am very new to javascript world. But i need to debug a javascript code. i wanted to know what does the below code mean?

if(this.opener)
{

}

Please help me. i am in a very urgent need. Expecting your Advices. Thanks in Advance
Jun 26 '08 #1
3 1707
hsriat
1,654 Recognized Expert Top Contributor
this when directly (not inside a wrapper function or an HTML tag) written in the script means window reference.
And opener means, the other window from which this window has been opened.

So if (this.opener) means, if the parent window exists.

Have a look at this tutorial.
Jun 26 '08 #2
Revathi Balakrishnan
40 New Member
Thanks a lot

Really your answer helped me a lot.
Jun 26 '08 #3
hsriat
1,654 Recognized Expert Top Contributor
You are welcome

Jun 26 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3537
by: Irakl Gordin | last post by:
this.opener is not null but everything inside it is "uknown". How should I interpret it? *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it!
14
2314
by: J. Makela | last post by:
Hallo. This should be a pretty entertaining question for you *real* javascript writers.. I, being the lowly photoshop guy at an ad agency made the mistake of actually saying "HTML" in a...
12
2978
by: prashna | last post by:
Hi all, I am new to C and I am working on some simple programs.I am getting the following warning which I am not able to find what it is, please let me know what is causing this warning.Also What...
13
6082
by: Dan V. | last post by:
How do I create a one line text file with these control codes? e.g.: 144 = 0x90 and 147 = 0x93? I am trying to create a one line text file with these characters all one one row with no spaces. ...
16
2324
by: cody | last post by:
Shouldn't if (this!=null) generate a compiler warning? in fact, it does not.
2
1267
by: sparks | last post by:
I need to set up an entry field of 00:00 AM medium date but they always want it to be AM. So I tried this 99:00 >"AM";;_ yep it puts the data in the field defined as date time and you get...
0
951
by: RubyRue | last post by:
New to developing. We are working on a project using asp.net and c# where data is pulled out of an sql database via multiple tables and displayed via a details view. The user can then update the...
184
6831
by: jim | last post by:
In a thread about wrapping .Net applications using Thinstall and Xenocode, it was pointed out that there may be better programming languages/IDEs to use for the purpose of creating standalone,...
1
1448
by: Natasha2401 | last post by:
If this was entered in the criteria field of an access database,what would it mean? !!
0
7074
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7451
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.