Home > Article > Web Front-end > js birth date year month day cascading menu sample code_javascript skills
The Gregorian calendar (Gregorian calendar) now used around the world has also gone through a long-term evolution process. Let's first look at the Gregorian calendar. The number of days in each month is fixed: "Single days before the seventh day, double days after the eighth day." That is to say, January, March, May, July, August, October and the twelfth lunar month (December) have 31 days, April, June, September and November have 30 days. Only February has 28 days in ordinary years and 29 days in leap years. .
namespace WebApplication1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
btnSave.Attributes.Add("onclick", "getValue()");
}
protected void btnSave_Click(object sender, EventArgs e)
{
Response.Write(hfValue.Value);
}
}
}