| View previous topic :: View next topic |
| Author |
Message |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
Can i use javascript to find frames/windows the same way the "<a target=></a>" does it ?
its not exactly what i need
i dont know where the "target" is. it could be in the parent or sibling.
Reply with quote
|
| |
|
|
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
| |
Peter Pitt Enthusiastic Coder
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
um
You don't feel like what? Using the DOM?
Document.getElementsByTagName("a") returns a collection of anchors...
Reply with quote
|
| |
|
|
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
B0a,its more complicated. i have frames here and i need to get the "document.location.href" of a target, the way <a target=></a> does it
Reply with quote
|
| |
|
|
Peter Pitt Enthusiastic Coder
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
Is that an incredibly circuitous way of saying you want a list of all window objects? Because if so, you can't get them. You can only access those related to the current one via a frameset or the saved return value of window.open().
Reply with quote
|
| |
|
|
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
Peter Pitt, i only need the ones <a target> could possibly address.
Reply with quote
|
| |
|
|
Peter Pitt Enthusiastic Coder
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
That includes all existing and all possible windows and frames.
Reply with quote
|
| |
|
|
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
| |
| Page 1 of 2 |
Goto page 1, 2 Next |
|