简单的日历 - 请帮助 [英] simple calendar - help please

查看:80
本文介绍了简单的日历 - 请帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的页面上有3个输入HTML(下拉列表)。一个用于选择

月,一个用于当天,一个用于一年。很简单...


我的问题是我想根据选择的
月更新第一天(31,30或者28天)。我应该使用一个简单的javascript

填充输入框,但我对javascript有点新鲜。


请你能帮助我吗?

Hi,
I''ve got 3 input HTML (dropdown lists) on my page. One for selecting a
Month, one for the day, one for the year. Very simple...

My problem is that I''d like to update the Days one according to what
month was selected (31,30 or 28 days). I should use a simple javascript
to populate the input boxes, but I''m a bit new to javascript.

Please can you help me ?

推荐答案

写于20 mei 2006 comp.lang.javascript
wrote on 20 mei 2006 in comp.lang.javascript:
我的页面上有3个输入HTML(下拉列表)。一个用于选择一个月,一个用于一天,一个用于一年。非常简单...

我的问题是我想根据选择的月份(31,30或28天)更新第一天。我应该用一个简单的javascript
来填充输入框,但我对javascript有点新鲜。


为什么你认为它很简单?

如果用户决定先设置日期数该怎么办?

跳跃怎么样年,如果没有先选择年份?

请你能帮助我吗?
I''ve got 3 input HTML (dropdown lists) on my page. One for selecting a
Month, one for the day, one for the year. Very simple...

My problem is that I''d like to update the Days one according to what
month was selected (31,30 or 28 days). I should use a simple javascript
to populate the input boxes, but I''m a bit new to javascript.
Why do you think it is simple?
What if the user decides to set the daynumber first?
What about leap years, if the year is not selected first?
Please can you help me ?




我不认为这里有人会写你的代码。

亲自试试并告诉你哪里遇到问题。


-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)



I don''t think someone here will write your code.
Try it yourself and show where you get a problem.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


我不知道如何从javascript更改选择(

项列表)的选项。我只是要求那些代码。我已经自己试过了b $ b ...我不会发布其他信息。

I don''t know how to change the options of the select (the list of
items) from a javascript. I''m just asking for that bit of code. I''ve
already tried myself...I wouldn''t post otherwise.


写于20 mei 2006在comp.lang.javascript
wrote on 20 mei 2006 in comp.lang.javascript:
我不知道如何更改选项的选项(
项目列表)来自javascript。我只是要求那些代码。我已经尝试过了......我不会发布其他信息。
I don''t know how to change the options of the select (the list of
items) from a javascript. I''m just asking for that bit of code. I''ve
already tried myself...I wouldn''t post otherwise.




你在说什么?这是usenet,所以:


请引用你要回复的内容。如果您想通过

groups.google.com发布跟进,请不要使用回复。链接在文章的底部。

点击显示选项在文章的顶部,然后点击

回复在文章标题的底部。

< http://www.safalra.com/special/googlegroupsreply/>


-

Evertjan。

荷兰。

(请将x''es更改为我的电子邮件地址中的点数)



What are you talking about? This is usenet, so:

Please quote what you are replying to. If you want to post a followup via
groups.google.com, don''t use the "Reply" link at the bottom of the article.
Click on "show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
<http://www.safalra.com/special/googlegroupsreply/>

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


这篇关于简单的日历 - 请帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆