473,396 Members | 1,743 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.

Imagine life without Javascript...


How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?

--
iTech Consulting Services Limited
Expert in ePOS (Point-Of-Sales) solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288
Apr 27 '07 #1
9 1477
On Apr 27, 1:13 am, Man-wai Chang <toylet.toy...@gmail.comwrote:
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
You couldn't do what you want exactly without JavaScript. You could
could open the new window with the target attribute of the <a>
element. But then when the user does pick the value you would not be
able to close the window and show the choice in the textbox of the
original window.

I think maybe you should just have a single window. When the user
clicks a link they see a page with the choices. when they choose then
they see the original page with the selection in place. Only one
window this way.

Peter

Apr 27 '07 #2
Man-wai Chang said the following on 4/27/2007 4:13 AM:
>
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this:

<URL: http://www.litotes.demon.co.uk/js_info/pop_ups.html>

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 27 '07 #3
On Apr 27, 2:05 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
Man-wai Chang said the following on 4/27/2007 4:13 AM:
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?

Something like this:

<URL:http://www.litotes.demon.co.uk/js_info/pop_ups.html>
Randy, in case you couldn't see the subject line it was "Imagine life
without JavaScript" so I don't think Richard's page would be helpful.

Peter

Apr 27 '07 #4
Peter Michaux said the following on 4/27/2007 6:12 PM:
On Apr 27, 2:05 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
>Man-wai Chang said the following on 4/27/2007 4:13 AM:
>>How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this:

<URL:http://www.litotes.demon.co.uk/js_info/pop_ups.html>

Randy, in case you couldn't see the subject line it was "Imagine life
without JavaScript" so I don't think Richard's page would be helpful.
Peter, in case you didn't read the FAQ, it is covered in Section 2.3,
Paragraph 2, Sentence 2. Specifically the part of the Sentence after the
comma.

Have a good weekend :)

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 28 '07 #5
Randy Webb said the following on 4/28/2007 12:16 PM:
Peter Michaux said the following on 4/27/2007 6:12 PM:
>On Apr 27, 2:05 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
>>Man-wai Chang said the following on 4/27/2007 4:13 AM:

How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this:

<URL:http://www.litotes.demon.co.uk/js_info/pop_ups.html>

Randy, in case you couldn't see the subject line it was "Imagine life
without JavaScript" so I don't think Richard's page would be helpful.

Peter, in case you didn't read the FAQ, it is covered in Section 2.3,
Paragraph 2, Sentence 2. Specifically the part of the Sentence after the
comma.

Have a good weekend :)
And just for sh*ts and giggles, have you ever tried Richards page with
JS disabled? It is an enlightening experience.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 28 '07 #6
On Apr 27, 1:13 pm, Man-wai Chang <toylet.toy...@gmail.comwrote:
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this?
http://dyumnin.com/demo/
Prince
--
http://dyumnin.com/webapps/howto/web...vascript.shtml
PS: Applications not tested on half baked browsers like IE

Apr 28 '07 #7
pr****@dyumnin.com said the following on 4/28/2007 1:30 PM:
On Apr 27, 1:13 pm, Man-wai Chang <toylet.toy...@gmail.comwrote:
>How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this?
http://dyumnin.com/demo/
Works absolutely lovely without a Flash Player. Try it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 28 '07 #8
On Apr 29, 2:07 am, Randy Webb <HikksNotAtH...@aol.comwrote:
pri...@dyumnin.com said the following on 4/28/2007 1:30 PM:
On Apr 27, 1:13 pm, Man-wai Chang <toylet.toy...@gmail.comwrote:
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this?
http://dyumnin.com/demo/

Works absolutely lovely without a Flash Player. Try it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/
The link was not for the actual code. it was for a recording of a
sample application usage. The actual code still uses javascript+XML.
Regards
Prince.
http://dyumnin.com/

Apr 29 '07 #9
pr****@dyumnin.com said the following on 4/29/2007 6:38 AM:
On Apr 29, 2:07 am, Randy Webb <HikksNotAtH...@aol.comwrote:
>pri...@dyumnin.com said the following on 4/28/2007 1:30 PM:
>>On Apr 27, 1:13 pm, Man-wai Chang <toylet.toy...@gmail.comwrote:
How do/would you implement a pop-up window for user to pick a value out
of a searchable list and then pass it back to the textbox?
Something like this?
http://dyumnin.com/demo/
Works absolutely lovely without a Flash Player. Try it.
The link was not for the actual code. it was for a recording of a
sample application usage. The actual code still uses javascript+XML.
Regards
So you give a URL to a Flash App to show how to use JS and XML. Wow.

Can you explain the thought process behind that?

Your posting agent is broken.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 29 '07 #10

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

Similar topics

0
by: cognite | last post by:
This venue would surely appreciate the cool stuff being done in python on bioinformatics and python's tools for info parsing and extraction (like fulltext indexing, xml tools, parser builders,...
5
by: Uwe Mayer | last post by:
Hi, I have come across the following statement a number of times: http://mail.python.org/pipermail/python-list/2003-July/171805.html > Python, in general, doesn't try to stop the programmer...
14
by: qaz | last post by:
I've always used session cookies in my web sites. However, since more and more people (including me) are starting to disable cookies, I'm beginning to think that I should change my ways and design...
2
by: groups | last post by:
If you haven't read the book, nor watched the movie, "Harry Potter and the Chamber of Secrets". Harry Potter finds a diary with nothing written in it. When he starts writing in it, the diary...
55
by: amanda992004 | last post by:
Excluding the factors of the brain capability, i.e I am not asking about this factor, if you are a single, aside from enjoying coding or debugging, how do you make time to eat properly, i.e...
0
by: Piotr Strycharz | last post by:
The life with ViewState is difficult - say 70kB of mess.... The life without View State is very difficult: 1. No access to Field.Value or Field.Text at Page_Load (are empty) 2. No access to...
14
by: dd | last post by:
"Apple has launched a version of its web browser Safari for Windows" http://news.bbc.co.uk/1/hi/technology/6742439.stm As if having Safari exist on the Mac wasn't bad enough, now we have to...
3
by: Mark Shroyer | last post by:
I guess this sort of falls under the "shameless plug" category, but here it is: Recently I used a custom metaclass in a Python program I've been working on, and I ended up doing a sort of write-up...
1
by: ylekot88 | last post by:
Hello. Yes, I am a newbie to Javascripting for a whole 3 weeks now. I have been given an assignment in a book that is horribly worded, and I have spent about 30 hours trying to figure out what I am...
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...
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
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...
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.