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

Help with coding a pop up window

I need some help on how to code a pop up window that would have one form
with one field to return the value enterd back to the main script.

Jul 23 '05 #1
3 1003
In article <5f5b4ab28dc7b9500b8f1904c5bfa8c9
@localhost.talkaboutprogramming.com>, rp*****@nospam.indy.rr.com enlightened
us with...
I need some help on how to code a pop up window that would have one form
with one field to return the value enterd back to the main script.


Why a popup? What's wrong with:

var x = prompt("Enter a value!");

Just curious.
If that's not viable, I can show you code for the popup.

Simple ex:
opener.formname.fieldname.value = self.document.formname.fieldname.value;

--
--
~kaeli~
Profanity: the single language in which all programmers are
expert.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
Lee
rockocubs said:

I need some help on how to code a pop up window that would have one form
with one field to return the value enterd back to the main script.


var response=prompt("What value?","");

Jul 23 '05 #3
Thank you both, that should take care of what i needed it for.

Jul 23 '05 #4

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

Similar topics

4
by: Megan | last post by:
Hi- I need some help/ advise on how to code unique numbers for the primary keys of my 2 tables. I inherited a database that covers information about Hearings and Rulings. Information about the...
1
by: Sunit Joshi | last post by:
Hello All I have an aspx with a datagrid having hyperlink colns. I open a popup window like this <asp:HyperLinkColumn DataTextFormatString="Click.." DataNavigateUrlField="ID" DataTextField="ID"...
2
by: Sergey Poberezovskiy | last post by:
Hi, I need to show a popup on my Web Page, so I write: var oPop = window.createPopup() oPop.show(x,y,W,H); I have a problem with W =width and H = height of the popup window: When a user...
0
by: melis | last post by:
Hi all, I am new to MFC, and cannot find a way to the following problem :( What I am trying to do is just to split the window into two parts, tyring to have a CFormView or CDialog on left and a...
6
by: vinci426 | last post by:
im stuck in creating a stock control system and i dont know head or tail when it comes to coding in. im gud in writing out logic but when it comes to putting it in code im totaly stuck. i know...
2
by: XML Beginner | last post by:
I have an XML file that contains values that my application needs, so it knows which database to connect to. It also contains a configuration option so that I can specify which node to return...
4
by: prakashsurya | last post by:
Hello Gud evening I am having a small doubt on window.opener Actually when we use window.opener by default a window will opens with a name local host on the top of window when we press this the...
1
by: flavourofbru | last post by:
Hi, I am stuck at a major part of the code in VC++. My algorithm is as follows: f_name = load(filename); //this also loads a text file. The text files contains numbers sepearted by tab....
0
by: john ciriello | last post by:
Hi, I am trying to detect when the help window that pops up for a control can be detected when it is closing. Right now when you click anywhere the window closes but there does not seem to be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
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,...

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.