Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Addressbar hiding

 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to hide address bar when window is opened using :


Thanks
deepa
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only way to hide the address bar is to use window.open().

Eric
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, then is it possible to send all form bean elements to window.open() method, actually previously I used to send it by submitting form. I am aware of only one method that is by adding paramteres to url (you can say querystring). Is there any easier method to do this?

Thanks,
Deepa
 
Subhadip Chatterjee
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi deepa,
"window.opener" will give you a reference to you parent window, inside the pop-up.with this you can access you parent page's form-fields, as
"window.opener.document.<form_name>.<field_name>.value"

I hope you will do some R&D on this, so happy hunting.
 
Deepa More
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means I have to open the window first, then pass parameter of parent window for submission on load of child window?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic