Posting Form Data To A Popup Window

Does anyone know how to post form data to a popup window either by using ASP or JavaScript? I have a form full of inputs and I want to open a popup window where the processing can take place.

View Replies


ADVERTISEMENT

Submit A Form And Have Control Transferred To Popup Window

I am using asp to do form processing. When the form is submitted I want to open a popup window and have the form processed. at the conclusion of the processing I want to diaplay a thank you message and have the user stay within the popup window until they close it all the while my main page is still visible beneath the popup window.

What is happeing is that the from action script is opened in a new browser window and it does not function the way I want it to.

Code is as follows: ......

View Replies View Related

How To Pass Values From Parent Window To Popup Window In Server Side?

1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.

I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:

View Replies View Related

Problem Posting Data From Asp Form

I am running IIS5, Win2k Server, and .Net Framework 1.1.

For some reason asp forms will not post data. So I have
a form with a text box. The form's method is set to post
and I have a submit button.

The weird thing is that the page works fine without using
SSL and/or the FQDN for the server. Code:

View Replies View Related

Keep Value's Of Opener Window When Return From A Popup Window

I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.

The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.

Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:

View Replies View Related

POSTing A Binary File Using Multipart/form-data

I'm trying to setup an ASP page to POST an image across to another page- essentially simulating what a browser does when you use <input type=file> in a HTML form.

I'm able to correctly setup the headers etc and do the POST, but I'm unable to include the binary data of the image.

The only way i've been able to do it is if I base64 encode the image. I'm using MSXML2.ServerXMLHTTP to do the POST, and I can't seem to do the .send with a form body that includes the binary data of the image. Code:

View Replies View Related

Get Value From Popup Window

I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a description and a class_id (stored in the value attribute of each option). The user will then select a class from the drop-down list.

What I want to do is have a control in the parent browser window which can store the class_id and the description that the user has selected in the popup window.

what control I should use in the parent window and more importantly how I get the value from the popup window (this must be client side code as the user will have entered other values into the form in the parent browser window)?

View Replies View Related

Popup Window

I am facing a problem in asp pages. I am requesting some values from a page and moving to another page from the second page.

i m opening an popup window and for refreshing econd page from that Popup. i m using code.window.opener.location.href='second window name') in doing this I am losing the values of the first form. which i have to insert in the dbase in the Third page

View Replies View Related

Post Form Data To A Modal Dialog Window

I want to post the form data (http://server/page1.asp) to a modal dialog
window (http://server/modaldialog.asp) with a desired height 200px by width
200px.

Here's my attempts and problems:

Attempt #1) In http://server/page1.asp, it has code <form
action="http://server/modaldialog.asp" method="post" target="_blank">

In http://server/modaldialog.asp, it has code <body onBlur = "self.focus()">

It can produce modal dialog window modaldialog.asp, but I want to set the
width and height of modaldialog.asp.

Attempt #2) var sReturn = window.showModalDialog("modaldialog.asp", params,
"dialogHeight:200px; dialogWidth:200px;");

This is the effect I want. But this is not posting the form data to
modaldialog.asp. Any workarounds to my problems??

View Replies View Related

Close Popup Window

In an asp page I have the following scenario happening (or would like
to happen)

person picks a menu item in main page which opens a popup window that
allows customization of that menu item. Upon submitting that page the
results go to a second page in the popup window for collection into
variables.

I was hoping to just close that second page, but
everything I have tried results in a message window stating the
program is trying to close the page (y or n). I was hoping to get rid
of this, but can't seem to no matter how hard I try.

There are many examples on here that seem rather old and may have
worked with former versions of IE without problem, but none have
worked how I wanted.

Does anyone have suggestions on how I could get the above...or even
modify things so that maybe the original popup window can be
closed...I do wonder if its the fact that a second page has been
opened in the popup window.

View Replies View Related

Open Popup Window

I want when an website opens then a popup window made in flash should be open automatically in a new window. How it is possible?

View Replies View Related

Post The Form Data And Open The Page As A Modal Window

Is it possible to post the form data and open the page as a modal window?
Because when I do the following, it will open page2.asp in a new window, but
I still able to manipulate page1.asp. I want to make page2.asp as modal
window.

<form action="http://server2/page2.asp" method="post" target="_blank">

Any ideas?

View Replies View Related

Link Text To Popup New Window

i am linking the text to a new fresh page by a popup. however, when i take away the <a></a> tag, when i move myu mouse over, it does not have the effect. but when i set the href to --> href="#", it pop out 2 windows. How can i solved the prob? I just need to link the text to a new fresh pop out when on click.

function popup(url)
{
newwindow=window.open(url,'name','resizable=yes,sc rollbars=yes');
if (window.focus) {newwindow.focus()}
return false;
}

<a href="#" onClick="popup('search_coyfrm.asp')">Search Company</a>

View Replies View Related

How To Focus A Popup Window From Another Asp Page?

I have 3 asp pages.

A link in the first one creates a popup window.

A link in the popup window opens a page with 2 frames in it, top and bottom.

Now, I have a link in bottom frame of this page, which, when clicked , should give focus to the existing popup window.

When creating the popup window, I used a reference to it like...

View Replies View Related

Popup Window Changes Host Page

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?

View Replies View Related

Popup Window Not Working Properly

The following code is not working properly in IE6 but it does work for mozilla firefox. I am trying to open a new popup window without affecting the frame from "where" it came. But what happens when I click on the link is that the popup window is displayed correctly but the frame then changes to my default.htm. It is supposed to stay the same

here is my code

Response.Write "<td><a href=" & """" & """" & " onclick=" & """" &
"javascript:window.open('desc.asp?msg=" & tempdesc & "','" & rownum &
"','toolbar=no,location=no,directories=no,status=no ,menubar=no,scrollbars=yes,resizable=no,width=600, height=600,left=300,top=300')"
& """" & ">" & left(tempdesc,50) & "....</a></td>"

View Replies View Related

Resize Popup Window To Fit Text

I have a popup window that is used to display text from a database. Some times it can be a few words, sometimes it can be a hundred words. What I would like to do is resize the popup window to fit the text. Well actually it is just the height that needs to be resized. I have set the width to 600. I have put the text in a table and I was thinking
I could set the height of the window to be the height of the table plus some for room. I don't know if that is possible.

At first I tried to count the number of lines and multiple by a factor by that doesn't work so nicely because I was getting the number of lines by dividing the number of charaters by the maximum number of characters in a line.

View Replies View Related

Post Form Data To A Modal Dialog Window With Desired Height And Width

I want to post the form data (http://server/page1.asp) to a modal dialog
window (http://server/modaldialog.asp) with a desired height 200px by width
200px.

Here's my attempts and problems:

Attempt #1) In http://server/page1.asp, it has code <form
action="http://server/modaldialog.asp" method="post" target="_blank">

In http://server/modaldialog.asp, it has code <body onBlur = "self.focus()">

It can produce modal dialog window modaldialog.asp, but I want to set the
width and height of modaldialog.asp.

Attempt #2) var sReturn = window.showModalDialog("modaldialog.asp", params,
"dialogHeight:200px; dialogWidth:200px;");

This is the effect I want. But this is not posting the form data to
modaldialog.asp.

Any workarounds to my problems??

View Replies View Related

Update Record In A Popup And Then Refresh Main Window

I have a main window which shows all records from a table. When a user clicks on "Edit" for a record, a popup showing information of the selected record is displayed.

The user then changes the information on the popup and clicks "OK" button which calls an ASP page to update that record in the table. Everything works with no problem up to this stage.

My problem start after the update process. I need to know how to close the popup and then refresh the main window showing the updated information....

View Replies View Related

Javascript Parent Window Reload Without Retry Popup

I have a child window that has a button to close it. I would like the parent window to be refreshed (since action taken in the child would change the values in the parent). The code I have works, but I get that "Retry" popup... I would like to bypass that. Any suggestions? Code:

View Replies View Related

Adding Elements To Dropdown List From Popup Window

I am designing a website to records details of people who visit our company. When entering a visitors details I wish to record the company that they work for, to save the user time a dropdown list of companies is populated dynamically from the backend (Oracle) database. In the event of a company not existing in the database the user would have to go to the page to add a new company and then come back to the form meaning that they would lose anything they have already entered.

What I am trying to do is to enable the user to click on a link which will bring up a pop up window into which they may enter the new company, on closing down this popup the new company will be added to the dropdown list.

So far I have got the popup to display and to accept the user input and I have inserted this new company name into the database with a unique reference number generated by a sequence and before_update trigger. The following code is for the popup window and accepts user input, writes it to the database and closes the window: Code:

View Replies View Related

Mouse Pointer Remains Busy After Window Popup

I've been writing web pages that pops up smaller windows when links are
clicked. I noticed that very often after the small window is poped up, the
mouse pointer remains busy instead of returning to the normal pointer.

Does anyone seen this problem before and know how to resolve it?

Code I use is like this:

function viewproductdetail(sku)
{
g =
open(page,'g','status=no,toolbar=no,menubar=no,hei ght=550,width=500,scrollba
rs=yes');
g.focus();
}

View Replies View Related

How To Open A Popup Window Select A Value And Send It Back To Page?

I'm need to open a popup window from an asp page that calculates a value. This value must be returned to the input box on the asp page. I have managed to get the popup window to open and display a value so far but I am not getting the value back into the asp page.

Popup Window code...

View Replies View Related

Populate A Popup Window With Clickable Records From An Access DB And Upon Clicking, Populate A Selectbox On The Original Webpage With The Clicked Record

We have an ASP site that hits up an Access database of categories of
products and products. (e.g. Categories = Napkins, Tablecloths;
Products = 20x20 Napkins, 21x21 Napkins, 54x54 Tablecloths, 60x60
Tablecloths)

We currently have select boxes that when you select a category, it
populates the next select box with the proper list of products (i.e. I
select Napkins as a category, I get a listing of the Napkins)

We would like to put a clickable link before each of these select
boxes that would pull up a pop up with links from the records from the
proper table.

(e.g. I click the categories link and a popup with html
anchor tags of Napkins and Tablecloths appear) I click on the Napkins
anchor and it populates the Categories Select box with Categories and
Napkins being selected.

View Replies View Related

Posting Data To An API

I'm working on a shopping cart that uses PayPal when the user submits their information 3 things need to happen on the same page:

1. User information gets saved in a database
2. An e-mail is sent out
3. Variables are transferred via a "POST" method to the PayPal API

I've successfully made it through the first 2 but the 3rd one is killing me. How do I do this? The only way I can think to do this is with the response.redirect but it can't be a GET it needs be a POST. Any thoughts?

View Replies View Related

Data Posting

welll I'm using ASP 2.0 =)
I'm trying to do the automated form posting and submition.
What I got is Excel file with the data that I need to manually enter to
the form...
What should I use to maximumally automate it =)

View Replies View Related

Posting Data Using XMLHTTP

I am trying to post data using xmlhttp object.

The data Iam trying to send has "&" in it, like - xx.asp?part=tm7&t6

Somehow the data doe not reach to the page correectly.

I also tried -

xx.asp?part=tm7&amp;t6

But still it does not reach.

In my final page when I retrieve request.form("part") -

Iam getting only tm7.

View Replies View Related

Posting Data To Two Pages

I have a developed asp page where user inputs the data and it will be submitted to another page. I want the data submitted to two pages of different application.
for example the code:

<form method="post" action="test.asp"&"test1.asp" name="processData" onSubmit="return ValidateAndCreateInstanceName( );" >

with the above code, i am getting error.with one form, how can I submit the data to two pages??

View Replies View Related

Posting Checkbox Data To DB.

An insert page and an update page will not let checkbox data be posted to the database. I am using Dreamweaver for all code with no tweaking on my part. If i remove all checkboxes from page i can post from both pages.

I've made sure that there is no data type mismatch. I do have another DB table which i can post to without incident. It seems i have exhausted my ability to solve this one.

View Replies View Related

Posting Data To Page

I've created a form that posts data to a script and the script checks the values. If the values are invalid, I want to be able to "post" the data back to the original page for them to be picked up. Is this possible?

I can't use JavaScript for client-side validation as the data to be compared against is in a database. I don't want to use session variables as they are server intensive and can expire. And I can't send the variables through the URL as some of the fields are textareas and could hold long values...

View Replies View Related

Dynamic Data When Hover In Popup

i want to have a bubble pop up on hover but in that bubble have data from a database populate it. has anyone else done this , if so how? Also i would like to try to stick to vb/asp/html if possible.

View Replies View Related

Posting One Form

My employer uses an onjline application for new hires. Currently they fill out a form which goes to ../cgi-bin/formail.pl
Of course this then email the application to them.
Once they recieve it it looks fine but when the go to print they say it prints 4 or 5 pages of garbly gook.
I havent seen this yet but i was thinking that if i could post the form to two seperat files, the fromail.pl and an asp page to insert it into an access table to later view with another asp page they could view the apps online and just print form explorer if i designed the page right
i have never done anythig with pearl before. Can I post it to an asp page then to the formail.pl. instead of posting it to two pages.

View Replies View Related

Posting From One Form On A Page To Another Form

have one form on an html page post to another form on the same page? I would like to have the information (all of the second form) hidden until the post is sent to it. Is that possible too?

View Replies View Related







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