473,394 Members | 1,761 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,394 software developers and data experts.

Link to another url

et
On my main page, I have a hyperlink that opens a new window in the search
window (target=_search). I would like that search window to have a
hyperlink to return back to the original window, how can I do that?

Thanks for your help, I hope the above makes sense.
Mar 4 '06 #1
6 1050
This is the reference to the window which opened it using javascript.

window.opener.location.href

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
On my main page, I have a hyperlink that opens a new window in the search
window (target=_search). I would like that search window to have a
hyperlink to return back to the original window, how can I do that?

Thanks for your help, I hope the above makes sense.

Mar 4 '06 #2
et
I'm not familiar with javascript, can you tell me how I can use it to put it
into a variable? Do I put it in the code-behind?

Thanks for your help & patience.

"Terry Burns" <me@mine.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is the reference to the window which opened it using javascript.

window.opener.location.href

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
On my main page, I have a hyperlink that opens a new window in the search
window (target=_search). I would like that search window to have a
hyperlink to return back to the original window, how can I do that?

Thanks for your help, I hope the above makes sense.



Mar 6 '06 #3
If you have opened up a popup window and want to return a value to the
calling page delcare a function in the caller

function updateMyPage( updateValue )
{
document.getElementByID('SomeTextBox').value=updat eValue;

}

In the called window

window.opener.updateMyPage( 'yourNewValue');
window.close;

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
I'm not familiar with javascript, can you tell me how I can use it to put
it
into a variable? Do I put it in the code-behind?

Thanks for your help & patience.

"Terry Burns" <me@mine.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is the reference to the window which opened it using javascript.

window.opener.location.href

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
On my main page, I have a hyperlink that opens a new window in the
search
window (target=_search). I would like that search window to have a
hyperlink to return back to the original window, how can I do that?

Thanks for your help, I hope the above makes sense.



Mar 6 '06 #4
et
I'm sorry, but I'm still confused. Where do I put this. In the code
behind? The code behind doesn't recognize window.opener.Updatemypage, etc.
"Terry Burns" <me@mine.com> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
If you have opened up a popup window and want to return a value to the
calling page delcare a function in the caller

function updateMyPage( updateValue )
{
document.getElementByID('SomeTextBox').value=updat eValue;

}

In the called window

window.opener.updateMyPage( 'yourNewValue');
window.close;

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
I'm not familiar with javascript, can you tell me how I can use it to put
it
into a variable? Do I put it in the code-behind?

Thanks for your help & patience.

"Terry Burns" <me@mine.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is the reference to the window which opened it using javascript.

window.opener.location.href

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
On my main page, I have a hyperlink that opens a new window in the
search
window (target=_search). I would like that search window to have a
hyperlink to return back to the original window, how can I do that?

Thanks for your help, I hope the above makes sense.




Mar 7 '06 #5
This is javascript code. And has to end up in the client. If you dont know
what Im talking about you need to read up on javascript first.

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eU**************@TK2MSFTNGP10.phx.gbl...
I'm sorry, but I'm still confused. Where do I put this. In the code
behind? The code behind doesn't recognize window.opener.Updatemypage,
etc.
"Terry Burns" <me@mine.com> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
If you have opened up a popup window and want to return a value to the
calling page delcare a function in the caller

function updateMyPage( updateValue )
{
document.getElementByID('SomeTextBox').value=updat eValue;

}

In the called window

window.opener.updateMyPage( 'yourNewValue');
window.close;

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
I'm not familiar with javascript, can you tell me how I can use it to
put
it
into a variable? Do I put it in the code-behind?

Thanks for your help & patience.

"Terry Burns" <me@mine.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is the reference to the window which opened it using javascript.

window.opener.location.href

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
> On my main page, I have a hyperlink that opens a new window in the
> search
> window (target=_search). I would like that search window to have a
> hyperlink to return back to the original window, how can I do that?
>
> Thanks for your help, I hope the above makes sense.
>




Mar 7 '06 #6
dew
Then is there a way to do this in ASP.Net with vb?

"Terry Burns" <me@mine.com> wrote in message
news:O7**************@TK2MSFTNGP12.phx.gbl...
This is javascript code. And has to end up in the client. If you dont know
what Im talking about you need to read up on javascript first.

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eU**************@TK2MSFTNGP10.phx.gbl...
I'm sorry, but I'm still confused. Where do I put this. In the code
behind? The code behind doesn't recognize window.opener.Updatemypage,
etc.
"Terry Burns" <me@mine.com> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
If you have opened up a popup window and want to return a value to the
calling page delcare a function in the caller

function updateMyPage( updateValue )
{
document.getElementByID('SomeTextBox').value=updat eValue;

}

In the called window

window.opener.updateMyPage( 'yourNewValue');
window.close;

--
Terry Burns
http://TrainingOn.net
"et" <ea*************@yahoo.com> wrote in message
news:eI**************@tk2msftngp13.phx.gbl...
I'm not familiar with javascript, can you tell me how I can use it to
put
it
into a variable? Do I put it in the code-behind?

Thanks for your help & patience.

"Terry Burns" <me@mine.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> This is the reference to the window which opened it using javascript.
>
> window.opener.location.href
>
>
>
> --
> Terry Burns
> http://TrainingOn.net
> "et" <ea*************@yahoo.com> wrote in message
> news:%2******************@TK2MSFTNGP15.phx.gbl...
>> On my main page, I have a hyperlink that opens a new window in the
>> search
>> window (target=_search). I would like that search window to have a
>> hyperlink to return back to the original window, how can I do that?
>>
>> Thanks for your help, I hope the above makes sense.
>>
>
>




Mar 7 '06 #7

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

Similar topics

14
by: Don G | last post by:
Within the menu for my site, I have inserted 'class="current"' within the link for the current page. So the link looks somthing link: <li><a href="index.php" class="current">Home</a></li> The...
13
by: Razzbar | last post by:
Is there any to tell via javascript the "state" of a link? I mean, I'd like to be able to tell if a link has been followed or not. (hehe, I can hear shrill crys of "privacy!" in the distance...)
7
by: Sean | last post by:
Hi I've written an HTML page that has a link to an MPG file, to be burned onto a "Demo CD". The MPG file is quite big - 500MB. On my computer, it works fine - clicking the link opens up Windows...
14
by: hgraham | last post by:
Hi, I'm trying to understand how to work the dom, and all I'm trying to do is insert a link right before another link in the html based on it's href value. This isn't a real world example - I'm...
3
by: newcomsas | last post by:
Hello. I'm trying to solve a problem related to JS and CSS. I produced an HTML page with several links and buttuns. I then created a CSS file in order to display a yellow background when a link...
2
by: Timbo | last post by:
Hi there, I’m not used to working in VB and I think this situation calls for excactly that. I use Access 97 SR-2. My first table is a table containing all the Tickets I got. The field ”Ticket”...
1
by: colleen1980 | last post by:
I copy a form from another database into my database. I need help how to i link the table which is in another database with that form. Thank you.
13
by: Casimir Pohjanraito | last post by:
I have a list of links, with a thumbnail image hidden(resized) next to the link. Complete html&css at end of this post. CSS for the link resizes the image on a:hover. All is good, except the...
13
by: trpost | last post by:
I am looking for a way to send data from one page to another as POST data without using forms or cURL. I have a php script that is passing a list of cases from on page to another when a link is...
11
by: Kurda Yon | last post by:
Hi, I got this warning: mysql_query(): 4 is not a valid MySQL-Link resource. The line which cause this warning is: mysql_query("insert into $tablename (id,priority) values('$id', '0.00')",...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.