473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

popup window changes host page to [object]

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?
Jul 19 '05 #1
4 1824
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" <no@thanks.com> wrote in message
news:up**************@TK2MSFTNGP11.phx.gbl...
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?

Jul 19 '05 #2
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" <sh*****@hotmailXXX.com> wrote in message
news:u9**************@TK2MSFTNGP12.phx.gbl...
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" <no@thanks.com> wrote in message
news:up**************@TK2MSFTNGP11.phx.gbl...
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?


Jul 19 '05 #3
"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.
Jul 19 '05 #4
Oh... I thought it was dropped after the fight with Sun.
Thanks again.
Love the sig line!

"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
"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.

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
10
by: Thad | last post by:
Any javascript I could try on this? I've got a popup window on my site with the browser chrome removed. Another site's gone ahead and done a popup to my same .html page. The visitor to that site...
7
by: E Michael Brandt | last post by:
I have been lurking here for some time, and now would like to ask a question of you clever coders: My JustSo PictureWindow 3 Extension for Dreamweaver has stumbled in the face of the new Opera...
15
by: | last post by:
So many websites can get around my Googlebar's popup blockers. Even Opera 8 can not stop those popups. I looked into the codes, and I can find nothing showing me how it is done. Can anyone help me...
4
by: GrantS | last post by:
I am having a problem closing a popup window opened modally. When I try to close the window (when the user hits save button and the data has been processed), the Popup window opens as a full screen...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
2
by: VMI | last post by:
I have a LinkButton_search on my Page1.aspx that opens up a popup page called popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of Page1.aspx. How can I add server-side code...
3
by: Jimmy | last post by:
It is also possible for popup window to call function in main window by using the opener property. Will "opener.someFunctionInMain(param1, param2)" in the popup window work? It's possible for...
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.