• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a href with frames

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi can I use a href across frames.

consider one.jsp



two.jsp




I am trying to define a href in two.jsp and the corresponding link in one.jsp.

Can i access two.jsp a href in one.jsp, with out re-loading the two.jsp in the frame two.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by N Chaurasia:
Can i access two.jsp a href in one.jsp, with out re-loading the two.jsp in the frame two.

I really don't know what you are asking. You might try re-wording your question.

Or, it's likely that the answer to the question might be the use of the target attribute on the <a> tag. Just a stab.
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to use target attribute



But it opens a new window for me when i clikc link Go, What i am trying to achieve is that when i click on the link Go, I should be able to access the
defined in two.jsp.

i.e. When i click link Go, the two.jsp defined in frame two should be at the top(trying to replicating the functionality of defined in same file.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the target should just be the framename, it should not include the parent reference.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic