Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / April 2007



Tip: Looking for answers? Try searching our database.

Imagine life without Javascript...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Man-wai Chang - 27 Apr 2007 09:13 GMT
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?

Signature

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

Peter Michaux - 27 Apr 2007 18:26 GMT
> 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
Randy Webb - 27 Apr 2007 22:05 GMT
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>

Signature

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

Peter Michaux - 27 Apr 2007 23:12 GMT
> Man-wai Chang said the following on 4/27/2007 4:13 AM:
>
[quoted text clipped - 4 lines]
>
> <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
Randy Webb - 28 Apr 2007 17:16 GMT
Peter Michaux said the following on 4/27/2007 6:12 PM:
>> Man-wai Chang said the following on 4/27/2007 4:13 AM:
>>
[quoted text clipped - 6 lines]
> 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 :)

Signature

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

Randy Webb - 28 Apr 2007 17:17 GMT
Randy Webb said the following on 4/28/2007 12:16 PM:
> Peter Michaux said the following on 4/27/2007 6:12 PM:
>>> Man-wai Chang said the following on 4/27/2007 4:13 AM:
[quoted text clipped - 13 lines]
>
> 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.

Signature

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

prince@dyumnin.com - 28 Apr 2007 18:30 GMT
> 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_application_components_javascript.shtml
PS: Applications not tested on half baked browsers like IE
Randy Webb - 28 Apr 2007 22:07 GMT
prince@dyumnin.com said the following on 4/28/2007 1:30 PM:
>> 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.

Signature

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

prince@dyumnin.com - 29 Apr 2007 11:38 GMT
> pri...@dyumnin.com said the following on 4/28/2007 1:30 PM:
>
[quoted text clipped - 11 lines]
> 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/
Randy Webb - 29 Apr 2007 17:07 GMT
prince@dyumnin.com said the following on 4/29/2007 6:38 AM:
>> pri...@dyumnin.com said the following on 4/28/2007 1:30 PM:
>>
[quoted text clipped - 7 lines]
> 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.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.