Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > popup window changes host page to [object]

Reply
Thread Tools

popup window changes host page to [object]

 
 
mmac
Guest
Posts: n/a
 
      01-26-2004
When I use this command in a webpage

Response.Write "<a
href=""javascript:window.open('events/EventDetails.asp?EventID=" &
theEventID & "' )"">" & theLinkText & "</a>"

I get the new window to open but it also affects the "host" window. The
"host" window is left with the word "[object]" in it.

If I refresh the window that says [object] the new window opens again.

Why and how can I make the new window open without affecting the previous
one?


 
Reply With Quote
 
 
 
 
mmac
Guest
Posts: n/a
 
      01-27-2004
OK, I am still trying to figure out where asp and the javascript begins ..
I'll look that direction.
Thanks you for the help.
Do you know where a javascript NG can be found?


"TomB" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This would be a javascript/client-side question having nothing to do with
> asp.
> <a href="javascript........" onClick="return false;">I think that's
> right</a>
>
> "mmac" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > When I use this command in a webpage
> >
> > Response.Write "<a
> > href=""javascript:window.open('events/EventDetails.asp?EventID=" &
> > theEventID & "' )"">" & theLinkText & "</a>"
> >
> > I get the new window to open but it also affects the "host" window. The
> > "host" window is left with the word "[object]" in it.
> >
> > If I refresh the window that says [object] the new window opens again.
> >
> > Why and how can I make the new window open without affecting the

previous
> > one?
> >
> >

>
>



 
Reply With Quote
 
 
 
 
Dave Anderson
Guest
Posts: n/a
 
      01-27-2004
"mmac" wrote:
>
> Do you know where a javascript NG can be found?


microsoft.public.scripting.jscript


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


 
Reply With Quote
 
TomB
Guest
Posts: n/a
 
      01-27-2004
This would be a javascript/client-side question having nothing to do with
asp.
<a href="javascript........" onClick="return false;">I think that's
right</a>

"mmac" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When I use this command in a webpage
>
> Response.Write "<a
> href=""javascript:window.open('events/EventDetails.asp?EventID=" &
> theEventID & "' )"">" & theLinkText & "</a>"
>
> I get the new window to open but it also affects the "host" window. The
> "host" window is left with the word "[object]" in it.
>
> If I refresh the window that says [object] the new window opens again.
>
> Why and how can I make the new window open without affecting the previous
> one?
>
>



 
Reply With Quote
 
mmac
Guest
Posts: n/a
 
      01-29-2004
Oh... I thought it was dropped after the fight with Sun.
Thanks again.
Love the sig line!

"Dave Anderson" <(E-Mail Removed)> wrote in message
news:%23XgtK%(E-Mail Removed)...
> "mmac" wrote:
> >
> > Do you know where a javascript NG can be found?

>
> microsoft.public.scripting.jscript
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message. Use
> of this email address implies consent to these terms. Please do not contact
> me directly or ask me to contact you directly for assistance. If your
> question is worth asking, it's worth posting.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to refer a control in the host page from a user control if the host page using masterpage Jerry Qu ASP .Net 1 02-20-2009 07:41 PM
Page -> Popup -> New Page (close popup, leave old page open) julie.siebel@gmail.com Javascript 2 01-18-2006 12:57 AM
in popup window, checking if page in opener window - any help? JPL Verhey Javascript 4 02-14-2005 04:09 PM
New Popup Window from an existing Popup Window Raffi Javascript 4 08-12-2004 01:21 PM
Main > Popup > Popup > Close popup AND new URL in main? Jens Peter Hansen Javascript 7 06-19-2004 08:56 PM



Advertisments