Hyperlink Javascript window.open()
Hyperlink Javascript window.open()
am 12.01.2008 00:03:01 von John
Hi,
I have the following in my asp .net web page. It opens a separate browser
window. However, on the main page, all of the contents is gone and shows
nothing but [object]. I have to use the Back button to get the main page
back.
How can I open a separate browser window and keep all the contents on the
main page? Thanks.
RE: Hyperlink Javascript window.open()
am 12.01.2008 00:30:01 von John
Solved. Used Target instead. Thanks.
"John" wrote:
> Hi,
>
> I have the following in my asp .net web page. It opens a separate browser
> window. However, on the main page, all of the contents is gone and shows
> nothing but [object]. I have to use the Back button to get the main page
> back.
>
> How can I open a separate browser window and keep all the contents on the
> main page? Thanks.
>
>
Re: Hyperlink Javascript window.open()
am 12.01.2008 00:32:25 von smar
"John" wrote in message
news:022EB3E7-A2EC-4D3F-8238-17F382F7C39A@microsoft.com...
> Hi,
>
> I have the following in my asp .net web page. It opens a separate browser
> window. However, on the main page, all of the contents is gone and shows
> nothing but [object]. I have to use the Back button to get the main page
> back.
>
> How can I open a separate browser window and keep all the contents on the
> main page? Thanks.
>
>
Re: Hyperlink Javascript window.open()
am 12.01.2008 07:54:00 von chad
Scott M. has definately provided the more correct solution. You might also try,
This will ensure that the href action does not bubble through the page's
client side event cycle and will also not change the page URL by appending a
pound sign. You do not need a value in the href property, the browser will
render an empty href value as a link (if you exclude the href property all
together you will simply get text, not a hyperlink).
--
Chad Scharf
_______________________________
http://www.chadscharf.com
"Scott M." wrote:
>
>
>
> "John" wrote in message
> news:022EB3E7-A2EC-4D3F-8238-17F382F7C39A@microsoft.com...
> > Hi,
> >
> > I have the following in my asp .net web page. It opens a separate browser
> > window. However, on the main page, all of the contents is gone and shows
> > nothing but [object]. I have to use the Back button to get the main page
> > back.
> >
> > How can I open a separate browser window and keep all the contents on the
> > main page? Thanks.
> >
> >
>
>
>