we are upgrading an application which is JS heavy to run on IE6. When
in IE 5.0, and when the following command is executed on a child
window (top.window.name), it returns an actual window ID ( a number),
however the same comand executed in IE 6 returns a window name (ie.,
"mywind").
Our problem is that we have some other script which relays on the
window ID in order to read the attributes associated with with parent
screen in order to continue processing.
So we do not know how to get the actual window ID in IE 6, or some
other workaround. Please let us know if you can help..thanks 2 3032
"er441298" <em**************@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com... we are upgrading an application which is JS heavy to run on IE6. When in IE 5.0, and when the following command is executed on a child window (top.window.name), it returns an actual window ID ( a number), however the same comand executed in IE 6 returns a window name (ie., "mywind").
You aren't executing a command, you are using IE specific syntax to
access a property of the current global window object that has the name
contained within top.window.name. So if top.window.name contains
"myWindow", you are really attempting to retrieve: window['myWindow'] or
window.myWindow.
So we do not know how to get the actual window ID in IE 6, or some other workaround. Please let us know if you can help..thanks
Windows don't have ids. A window has a name, and a "handle" which is a
reference to the Window object pointing to the window.
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
thank you very much Grant. Yes we are using some JS script to running
on the client side IE browser. I may not have used the correct choice
of words, but what is very strange is this:
in IE 5.0 the following commad alert(top.window.name) returns a
number (handle)
in IE 6.0 the same command returns the actual wondow name
our application needs the window "handle" vs. the name in order for it
to process to the nest screen. Using JS, is there a way in IE 6 to
explicity call for the window handle vs. the name
THANK YOU SO MUCH This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nicola Pedrozzi |
last post by:
Here I really need a guru... ;^(
I found out today with a big disappointment that :
window.open("url", ...)
and also
navigate("url")
limit the max length of the url string to something...
|
by: wayne |
last post by:
Hey there... I'm having some problems passing url parameters with an
open.window command. I'm not terribly familiar with java script but
here is the code below.
When executed it opens the...
|
by: jwlum |
last post by:
I have the following problem under Internet Explorer only:
1. User fills out form data (myform.php) and clicks a button that fires
myFunction()
2. myFunction() spawns a "hello, world" popup page...
|
by: Joe D Williams |
last post by:
Thanks for the link to:
http://www.w3.org/TR/Window
Reading further, it seems like some input is needed:
1.2. Not in This Specification
* ISSUE-59: Should Window 1.0 include history?...
|
by: len.hartley |
last post by:
Hi,
I am trying to pop-up a window when the user clicks on an image. The
problem is that when the user clicks on the image and the window pops
up OK, but the window underneath also proceeds to...
|
by: NC |
last post by:
Hi All,
We have an issue where if we say:
window.open(uri, 'QuickTradePopup',
'width=730,height=300,menubar=no,toolbar=no,scrollbars=yes,resizable=yes').
|
by: alexandre.brisebois |
last post by:
Hi, I am using access 2003, I would like to know if there is an option
to reorganize the tables in a maner that is readable, as we can do in
sql sever 2000 or 2005.
I have been given a database...
|
by: Stephany Young |
last post by:
When one uses the System.Diagnostics.Process.Start method to launch a common
or garden Console application, one can set the WindowStyle property of the
StartInfo object to ProcessWindowStyle.Hidden...
|
by: CreativeMind |
last post by:
hi,
i have a page calendar.aspx which returns selected date i.e
window.returnValue=selectedDate; window.close(); it works fine with IE
but not for Firefox.
i tried...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |