473,320 Members | 2,146 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,320 software developers and data experts.

selecting hyperlink text into popup window

121 100+
here i have an hyper link with emailid.
if i click on hyperlink it has to popup a window with in that window i need to print selected hyper link text

eg: hyperlink xx@example.com

if i click on above email id(xx@example.com) it has to generate a popup window and that selected xx@example.com should show in the popup window


here i did while click on emailid hyperlink it will generate popup window but i need the selected emailid value into popup window

please helpme
thanking you
Oct 29 '07 #1
1 1997
Atli
5,058 Expert 4TB
Hi.

You could pass the email along using the GET protocol:
Expand|Select|Wrap|Line Numbers
  1. # In your main PHP file
  2. $mail = urlencode("xx@example.com");
  3. echo <<<END
  4. <script type="text/javascript">
  5.   window.open("popup.php?eid=$mail", "mailPopup");
  6. </script>
  7. END;
  8.  
  9. # In the popup.php
  10. echo $_GET['eid'];
  11.  
Alternately you could save the selected email as a session variable and call it from your popup window.
Oct 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ziggs | last post by:
I have an asp form that has a text box called "colorBox". Just before text box is the word "Color" that is hyperlinked and will run the color.asp if pressed to show all of the colors in a...
0
by: Ruy Castelli | last post by:
Hello, currently, I've got a datagrid and one of its columns is a hyperlink. I would like to get this link to open a popup window with the details of the selected record. With the old ISAPI...
4
by: Olav Tollefsen | last post by:
I have an <asp:Hyperlink> in my .aspx file. How can I configure it to open the URL (NavigateURL) in a popup window instead of a new normal browser window. I use Target="_blank", but didn't find...
1
by: Amy Snyder | last post by:
I have webform1.aspx with an asp:textbox control and a link. The textbox is for entering company tickers. The link is to open up a smaller window where a user can do a quick query to search for a...
3
by: Doug Swanson | last post by:
So I've added a hyperlink to a screen based on a url stored in a database. The problem is that the hyperlink text is not underlined....but it becomes underlined when you hover over it. Small thing...
7
by: G. Dean Blake | last post by:
I have a hyperlink on my aspx page added at dev time. Is there a way to execute it from code? Thanks, G
0
by: mg | last post by:
The hyperlink code below causes a new page to popup above the main page, where the code below runs. <asp:HyperLink id="HyperLink1" runat="server" NavigateUrl="http://www.microsoft.com"...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have to load 30,000 unique names into a combox. Filling a dataTable takes only a few milliseconds. But populating the combobox and displaying the list takes several seconds - way...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.