473,322 Members | 1,431 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,322 software developers and data experts.

HTML popup date picker for input forms


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
Jul 23 '05 #1
5 11170
On Sun, 04 Apr 2004 21:32:03 GMT, C. Smith <cs*****@hotmail.com> wrote:
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.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 23 '05 #2
"C. Smith" <cs*****@hotmail.com> wrote:
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" calendarthat 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/
Jul 23 '05 #3
JRS: In article <n9******************@nwrddc01.gnilink.net>, seen in
news:comp.lang.javascript, C. Smith <cs*****@hotmail.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.

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.
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.

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.
Jul 23 '05 #4
"Dr John Stockton" <sp**@merlyn.demon.co.uk> wrote:
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.
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.
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/

Jul 23 '05 #5
"Matt Kruse" <ne********@mattkruse.com> wrote in message
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
Jul 23 '05 #6

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

Similar topics

4
by: James Bond 007 | last post by:
I am a novice to Javascript (can do simple text-based pop-ups, but not familiar with variable manipulation). I would like to have a Javascript that gives me the start time (I don't care about...
1
by: zeeshan359 | last post by:
Hi, I need free script that is "date and time" picker in javascript without popup, It should be in iframe or div or layers. I shall be thankful to you, if you provide me some details of it....
3
by: PerryC | last post by:
I have a Main Form, then a subform. There is a date field in the Subform that I want to be able to click on it, and a VBCalendar popup in the main form for me to choose a date (I don't want it on...
2
by: Frank Rocco | last post by:
Hello, Are there any free or inexpensive date and time picker controls that validate? I need to be able to have the control to just display a date or just display a time for editing. Thanks...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
0
by: TB | last post by:
Hi All: A kind soul provided by with the code for very nice calendar popup, which all in all works fine execpt for one thing: If I pick the current date (i.e. today's date) then the pop-up does...
4
by: ShyGuy | last post by:
A while back I had found a link to a popup calendar that had a small button that was placed to the right of any text box. By clicking on the icon and selecting a date the text box was updated with...
1
by: vp.softverm | last post by:
hi all . Am facing problem with the date picker. when i click on date picker in a popup window. the date table is opened in the middle of the pop up window. and it is unable to scroll with...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.