Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9032031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:52:52+00:00 2026-06-16T07:52:52+00:00

HTML5 seems to have new input types like date available for many current browser,

  • 0

HTML5 seems to have new input types like “date” available for many current browser, if I put:

    Birthday: <input type="date" id="bday", name="bday"/>

it pops up quite good date picker on Chrome! I could post selected date to server with help of javascript:

        updateDate: function() {
        var date = $('#bday').val();
        var params = { date: date };

        $.ajax({
            url: '/HelloWorld/updateDateJson',
            type: 'POST',
            data: JSON.stringify(params),
            dataType: 'json',
            contentType: 'application/json; charset=utf-8',
            success: function (result) { $('#timeServer2').text(result); }
            //error: function () { $('#ErrorSelfService').text("Ajax error"); }
        });

But then can I use it in a native asp.net mvc3 way using view model and partial view. Some clarification will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T07:52:53+00:00Added an answer on June 16, 2026 at 7:52 am

    Yes you can use it in the same way as it is just posted as a normal string value.

    Note though that other browsers may not support this (IE 9 for ex doesnt) so is still recommend just using the jQuery UI date picker control with a jquery mask plugin for MM/dd/yyyy input format (or whatever your supported cultures are for date format)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So it seems like setVolume() for html5 audio doesn't work at all on both
I'm writing a new tab extension for Firefox, and I'd like to have a
I know this seems like I should have immediately found the one example out
I have two buttons inside a form call: <% using (Html.BeginForm()) {%> <input type=submit
I have a HTML input box in my ASPX page like below <input id=txtID
First of all I have seen SO many answers to a question like this,
I have a text input that I don't want spaces in. If someone types
Looking at the Android tutorial on: http://developer.android.com/guide/topics/fundamentals/fragments.html ... it seems fragments have their layouts
It seems impossible to define PUT when I use Html.BeginForm to submit a form
For my html form, it seems that I'm unable to create cross browser hover

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.