Passing Values From Popup Window To The Many Page

Dec 30, 2007

Suppose that I have a main page with a link that opens a popup window which has a link with a parameter and I want to pass the parameter to a text input in the main page,
how to do that?

View 2 Replies


ADVERTISEMENT

Way Of Passing Variable From Parent Window To Popup Window

Jun 27, 2002

I need the most efficient way of passing a variable from a parent window to a popup window.The reason i say "most efficient" is because i currently do it like this from the parent:[code]But this is inefficient because at times it randomly alerts "undefinded".Anyways, can someone tell me a more fail safe way to pass a var to a popup so that i will be able to access it 100% correctly.

View 1 Replies View Related

Passing Variables To A Popup Window

Aug 31, 2005

<a href="view_details.php"
onClick="window.open('view_details.php?id=<?=$row['id'];?>&sname=<?=$row['sname'];?>')">
details</a>


Have got this so far but need to get the width and height set. Cannot seem
to get he syntax right.

View 1 Replies View Related

Passing A Reference To The Popup Window

Nov 23, 2005

Is there a way, I could pass the reference to a pop up window to
another function?

Basically, this is what I want to
var win= window.open("x.htm".....)

SetValue(win,"txtName");

//-------------------------------------------
function SetValue (win, ctlID)
{
var obj=win.getElementByID(ctlID);
ctlID.value="Hi";
}

View 1 Replies View Related

Passing Variables To Popup Window?

Feb 28, 2009

I want to pass variables to pop up window.How can i do this.

The code to pop up new window is as follows

<td id="add" bgcolor="#FFFFFF" width="80" height="16" onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'"> <a href="http://172.16.0.145/zm/index.php?view=monitor "

[Code].....

basically i want to pass values of "xcoord" and "ycoord" to pop up window.

View 1 Replies View Related

Passing Value From Popup To Parent Window

Jul 1, 2009

All three values are received at the JavaScript function. Have problems in translating and passing it to the parent. Trying to do the following from popup

<a href="#" onclick="javascript: post_value('<%=key%>', '<%=val%>', '<%=callingElement%>');"></a>
function post_value(partNumber, partDesc, callingElement){
opener.document.caseLineupDetailForm[productNum[callingElement]].value = partNumber.replace(/`/g, "'");
self.close();
}
[Code]....

View 1 Replies View Related

Pass Values For A Popup Window To Parent Window

Jan 19, 2003

how I can populate the value of an input field on a parent window from a selected item (of a form - listmenu) on a pop-up window? Basically, I need to pass the value of one form to another form located on a different page...

View 1 Replies View Related

Passing Parameter To A Popup Window Without Using Querystring

Jul 20, 2005

I have a search page im asp.net. the user enter the criterias in
textboxes and dropdownlists and on submit i want the results to be
displayed in a popup window.

so the easy way is to pass the criterias in a querystring to the new
window. but if it's possible i don't want to use query string.

in asp, i could use the folowing:
i open a temporary blank window, on load I take the values of the search
page using the window.opener and submit them to the server.
Unfortunately this can't be done in asp.net coz window.opener isn't
working.

so is there a way to do that ? or the only way is to pass the parameters
in a querystring ?

View 3 Replies View Related

Passing Variables From A Popup To Main Window

Jul 24, 2004

I have two PHP scripts. The popup script (calendar.php) is linked from the main navigation of the website. When it is clicked, the calendar popups up and the dates are linked. For example; the 24th July 2004 would read: events.php?day=24&month=7&year=2004

However, I require this information to be passed back to the MAIN window so that it can be displayed in a full screen.

View 6 Replies View Related

Popup Window Contains Table Values?

Feb 5, 2010

<p>i WANT TO DISPLAY THE POPUP WINDOW AFTER CLICKING THE PARENT WINDOW "BUTTON".<p><p>THAT POPUP WINDOW DISPLAY THE DATA IN A TABLE FORM(FOR EG:NO,NAMEETC.,) .<p><p>Now i want to select any row in the table using radiobutton.After selecting the radio button particular row values will display in parent window text boxes.</p>

View 1 Replies View Related

Passing Values From 1 Opened Pop-up Back To Parent Window?

Feb 18, 2010

I've been struggling on how to make this work.I have a problem in Javascript when it comes to passing of value in a input type field.

page1.html
<html>
<head><title></title></head>
<form action="" method="post>

[code]....

View 5 Replies View Related

Passing Values From 1 Opened Pop Up Back To Parent Window?

Feb 17, 2010

I have a problem in Javascript when it comes to passing of value in a input type field.

page1.html

Code:
<html>
<head><title></title></head>
<form action="" method="post>
<input type="text" name="weight" value=""><a href="hw_calculator.html"

[Code]....

View 1 Replies View Related

Returning Multiple Values From A PopUp Window?

Jan 25, 2010

We use .mac's to create some of our Web content where we also use some javascripts. We have numerous prompts where we have a button for the user to click on that brings up a new prompt window where they type in a search name like, TIE, to search for all ties available to select from.

After typing the search name, the same window displays a list of selections to choose from. When they select the desired item and click the continue button, the window closes and we return the item number to the calling program.

What I would like to do is bring back more than one variable. For example, instead of just, 1234 in Fld1, I would like to return, 1234 into Fld1 and B into Fld2, where Fld2 will not be displayed but needed elsewhere.

For this made up example, these codes could stand for... 1234=Tie and B=Blue. We may use 1234 for all ties and have a second field to further define it.

The code I have always used in the past will just bring back the 1234, I am asking how to return the B also?

Here is some of the code I currently use:

This displays the button they click to bring up the pop-up search window...

<tr>
<th Align="Left" BgColor="LightSteelBlue">Item#</th>
<td colspan="3">
<input type="text" size="5" MaxLength="5" name="choiceItem" value="$(choiceItem)">
<input type=button onClick="window.open('/member/Item_Lookup_Both.mac

[Code]....

View 3 Replies View Related

Mulitple Input Values Passed From Popup Window

Mar 24, 2006

On the ONLOAD event I would like a popup box to open. In this popup
box I need two text boxes. One for the UserName and one for the
BillingTo name. After entering these two items the user can either hit
the enter key or press the submit button. The popup window will close
and then those two text boxes in the original webpage will be filled in
automatically.

I would like to have the two fields to be validated so the popup won't
close until both text boxes are filled in.

So far I have used the function from javascript.internet.com in the
header of the original page. I have tried to make so that when the
first popup closes the second popup will open. I can get the variables
to pass the main page but I feel it would be more effecient to have
both text boxes in the same popup instead of having two. Code:

View 2 Replies View Related

Passing Values To Another Page?

Jun 17, 2011

why this is not passing my values?

Code:
myloc="http://owl.ncl-coll.ac.uk/misc/Intraining/Employability_Resources/Confidence/E3_L1_Overcomoing_Hurdles/pages/actionplan.htm?

[code]....

View 12 Replies View Related

Passing Values From One Web Page To Other Webpage?

Jan 27, 2010

i just wanted to know how to pass values from one webpage to other webpage.i have this textfield in the form whose value is going to be same in all the webpages.so when i put this value in my first web page it should come in other web pages automatically how to do that?

View 2 Replies View Related

JQuery :: Array - Passing The Values To Another Php Page

Feb 23, 2010

I have a phpsubmission form that I am passing the values to another php page that inserts the field values from the submission form. So I added a JQuery function on my submission page like so.

function addComplaint()
{
$.ajax({
type: "POST",url: "http://oscscar02/functions/addComplaint.php", dataType: "html",
data: $("#caseNum, #formNum, #calendar, #invoice, #prodID, #serial, #prodReturn, #compText, #hazardLevel,
[Code]....

The problem is#caseNum is actually amulti value select list. Now I know how to work with this using straight up php like so:

[Code]...

View 6 Replies View Related

Passing Values Into Params On Html Page?

Sep 21, 2009

I am trying to pass a video id value from one javascript page to another, extract the video id, append it to a utube url and then pass it to a html page for immediate display. I have managed to extract the video id value and append it to the url but cannot get it into the html section of the code. My code is posted below

<html>
<head>
<script type="text/javascript">

[code]....

View 3 Replies View Related

JQuery :: Passing Session Values To The Mother Page?

May 3, 2011

I have a question here, I have a mother page of 2 divs, one for the category list of foods on the left and the right div is a placeholder for the selected food of the category,

Then i have a modal box, which loads the list of foods associated to the category when clicked,

What i wanted to do is, when i select a food from the modal box and click submit, I wanted to populate the selected food into the right div of the mother page, so far the farthest i went is loading the list of food into the modal window,

its like a shopping cart, but instead of redirecting your users to another page, you display all their orders on the same page... can this be achieve, im using jquery+php sessions

View 3 Replies View Related

Passing Values Onload From Iframe To Parent Page?

Aug 5, 2009

I have a parent page containing an iframe. The parent page has a menu in it which opens links in the iframe. I want to highlight different bits of the menu according to which page has loaded in the iframe.

So I would like to do something like this:

1. Use PHP to extract the file name (minus 'php' at the end, of the page loaded within the iframe (which I can do fine).

2. Use javascript onload so that the iframe sends this value (say 'pagename') to the parent page when it loads any page in the iframe.

3. The parent page, having received that variable into its header, will adjust a line of css to something like: .pagename {background-color:red;}

And so the menu link for pagename.php will be colored red

4. When pagename1.php is loaded into the iframe, that will send 'pagename1' to the parent page, change the CSS in the head, and therefore change the highlighted menu item from pagename to pagename1

Is this possible? And easy? There seems to be a lot of stuff online about moving variables from iframes, but mainly in the context of form entries from an iframe to a parent, eg here:

[URL]

parent.function_name(); seems to be needed along the way. But I am not sure how to proceed.

View 14 Replies View Related

JQuery :: Passing Multiple Radio Button Values Into Other Page?

Dec 8, 2011

I have a problem passing my multiple radio button that come a array name:but the ajax written below just pass one single value to the next page, what can i do in order to pass multiple checked values?i have my code below:

<form>
<table>
while($selection= mysql_fetch_array($selected_object))

[code].....

View 2 Replies View Related

Passing An Increment Variable Into A Window.open Page?

Mar 25, 2010

I have a variable with a number value. I use variable++ to increase the value of the variable. How can I pass the new varible into a new window opened with window.open?

View 8 Replies View Related

Controling Parent Page From Popup Window?

Dec 11, 2009

For example, I have a page: http://www.cmela.com/zz.phpWhen i open a popup by clicking "Click Here to open popup page" and then on popup window, i wanted it to transfer parent page from making a click on a pop up window.Example is at:http://www.cmela.com/zz.phpopen pop up window, and then by clicking on a link on a pop up window i wanted my parent page to go to www.msn.com

View 2 Replies View Related

Refreshing To A New Page Via Popup Window Close

Dec 8, 2005

I was curious if such a thing is possible, I've seen it done before, but not exactly sure how that would work. Would it have something to do with the window.close (); function?

View 7 Replies View Related

How To Make A Popup Window Appear Behind Main Page?

Feb 16, 2003

Can somebody tell me how I can make a popup window appear behind the main browser window by modifying the script below to do this? I would like it so the popup will load but they won't see it until they close the main window.

Code:

<script language="JavaScript" type="text/javascript">
<!-- Begin
var popupWin
function openWindow() {
popupWin = window.open("http://www.domain.com", 'win', 'menubar=yes,status=no,toolbars=no,resizable=yes,scrollbars=yes,width=800,height=600')
}
// End -->
</script>

View 3 Replies View Related

Struck To Open A Popup Window After Submit The Page

Jan 14, 2010

I struck to open a popup window after submit the page. I used the following logic . but it's not open.

out.println("<a href="javascript:ozPopup('ozPpolApptChangeStartTime.jsp?apt=RptAppt&apptId="+id+"&date="+date+"','PpolApptLov','left=100,top=60,width=640,height=300,scrollbars=yes,resizable=yes');">");

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved