+ Start a Discussion
joannjoann 

Opening a new window...

I have a visual force page with a button that calls another visual force page which is working fine, however, I want a new page to open when the button is clicked instead of loading into the existing browser window.  I'm not finding anything in the documentation on how to do this - or am I just overlooking it? 

 

If anyone has an idea, I would really appreciate it!

 

Thanks!

 

JoAnn

dke01dke01

This is only via HTML or Javascript no visualforce/apex is available.

 

If its just a hyperlink  you can just add  'target="_blank" '  as an attribute of the hyperlink

 

Or you can use JavaScript  window.open command

Shailesh DeshpandeShailesh Deshpande

use target = "_blank"