Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what does 'top' means?

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we are calling any JS function with 'top' reference in any JSP file.

For example: top.doSomething()

What are the possible scenario:

One is,
This JSP is included in other JSP. So function of including JSP will be called.

What about others?

What other direct reference availabe like this, top etc.

Thanks.
[ June 13, 2006: Message edited by: rathi ji ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
top deals with the uppermost reference of the document tree wirh frames. http://www.quirksmode.org/js/frameintro.html

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It has nothing to do with JSP or JSP included files.
 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
It has nothing to do with JSP or JSP included files.


Thanks Eric and Bear.
It was superb link.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic