By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,479 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

Imagine life without Javascript...

P: n/a

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
Share this Question
Share on Google+
9 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.