HighDots Forums  

HTML popup date picker for input forms

Javascript JavaScript language (comp.lang.javascript)


Discuss HTML popup date picker for input forms in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
C. Smith
 
Posts: n/a

Default HTML popup date picker for input forms - 04-04-2004 , 05:32 PM







I am a web developer building html data entry forms that have a lot of date input fields (month, date, year) on them. I'd like to have a "popup" calendar that allows the user to pick the date using a graphical calendar interface. For example, the popup would show an entire month of dates and allow the user to scroll to different months/years, and finally double click on a date. The popup then closes and the date is returned (probably as a string) to the parent html page. Preferrably, 1) the source code for this popup is available, and 2) it is an Applet written in Java

Reply With Quote
  #2  
Old   
Michael Winter
 
Posts: n/a

Default Re: HTML popup date picker for input forms - 04-04-2004 , 07:05 PM






On Sun, 04 Apr 2004 21:32:03 GMT, C. Smith <cs31504 (AT) hotmail (DOT) com> wrote:

Quote:
I am a web developer building html data entry forms that have a lot of
date input fields (month, date, year) on them. I'd like to have a
"popup" calendar that allows the user to pick the date using a graphical
calendar interface. For example, the popup would show an entire month
of dates and allow the user to scroll to different months/years, and
finally double click on a date. The popup then closes and the date is
returned (probably as a string) to the parent html page. Preferrably,
1) the source code for this popup is available, and 2) it is an Applet
written in Java
If you want an applet written in Java, why are you posting to a JavaScript
group?

Mike

--
Michael Winter
M.Winter (AT) blueyonder (DOT) co.invalid (replace ".invalid" with ".uk" to reply)


Reply With Quote
  #3  
Old   
Matt Kruse
 
Posts: n/a

Default Re: HTML popup date picker for input forms - 04-04-2004 , 09:07 PM



"C. Smith" <cs31504 (AT) hotmail (DOT) com> wrote:
Quote:
I am a web developer building html data entry forms that have a lot of date
input fields (month, date, year) on them. I'd like to have a "popup"
calendar
that allows the user to pick the date using a graphical calendar interface.
Assuming you actually want a javascript solution, not a java solution (they
aren't the same thing) then you can find mine at
http://www.mattkruse.com/javascript/calendarpopup/

There are plenty of others out there - some are really bad and should be
avoided, some are very ingenious. It all depends on exactly what you're
looking for

--
Matt Kruse
Javascript Toolbox: http://www.mattkruse.com/javascript/




Reply With Quote
  #4  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: HTML popup date picker for input forms - 04-05-2004 , 07:28 AM



JRS: In article <n9%bc.12089$s34.6309 (AT) nwrddc01 (DOT) gnilink.net>, seen in
news:comp.lang.javascript, C. Smith <cs31504 (AT) hotmail (DOT) com> posted at Sun,
4 Apr 2004 21:32:03 :

Please set a margin of about 72 characters when posting; it is the
Usenet norm.


Quote:
I am a web developer building html data entry forms that have a lot of date
input fields (month, date, year) on them.
Obviously a foreigner. Most countries use Y M D or D M Y; Y M D is an
International, and even Federal, standard.

Quote:
I'd like to have a "popup" calendar
that allows the user to pick the date using a graphical calendar interface. For
example, the popup would show an entire month of dates and allow the user to
scroll to different months/years, and finally double click on a date. The popup
then closes and the date is returned (probably as a string) to the parent html
page.
It sounds very slow and tiresome to use in comparison with just typing
the date as YYYY-MM-DD or YYYY<tab>MM<tab>DD.


Quote:
Preferrably, 1) the source code for this popup is available, and 2) it is
an Applet written in Java
Ideally, a Web developer would understand the difference between Java
and Javascript; and have a spelling-checker.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.


Reply With Quote
  #5  
Old   
Matt Kruse
 
Posts: n/a

Default Re: HTML popup date picker for input forms - 04-05-2004 , 03:38 PM



"Dr John Stockton" <spam (AT) merlyn (DOT) demon.co.uk> wrote:
Quote:
Obviously a foreigner. Most countries use Y M D or D M Y; Y M D is an
International, and even Federal, standard.
Who cares what most countries use?
Was the poster asking for advice about date formats? I didn't think so.

Quote:
It sounds very slow and tiresome to use in comparison with just typing
the date as YYYY-MM-DD or YYYY<tab>MM<tab>DD.
Slow and tiresome for you, maybe. Others like to pick a date without having
to take their hands off the mouse to use the keyboard.

Quote:
Ideally, a Web developer would understand the difference between Java
and Javascript; and have a spelling-checker.
Ideally, posters to this group shouldn't be condescending assholes, either,
but that doesn't stop you!

Have a nice day!

--
Matt Kruse
Javascript Toolbox: http://www.mattkruse.com/javascript/





Reply With Quote
  #6  
Old   
Chris Gutierrez
 
Posts: n/a

Default Re: HTML popup date picker for input forms - 04-12-2004 , 08:25 PM



"Matt Kruse" <newsgroups (AT) mattkruse (DOT) com> wrote in message
Quote:
Ideally, a Web developer would understand the difference between Java
and Javascript; and have a spelling-checker.

Ideally, posters to this group shouldn't be condescending assholes, either,
but that doesn't stop you!
I totally agree.

Incidentally, I just stumbled on this discussion, thanks Matt for your
most excellent Javascript Calendar. I'm using it here at work and I
must say it's fantastic. It's about to save me a lot of time and help
me make a deadline.

Cheers,

Chris Gutierrez
email: gcgutier (at) hotmail (dot) com
http://www.chrisgutierrez.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.