MUI time date control (cannot be viewed on the browser, can be clicked on the phone side)

Source: Internet
Author: User

<scriptType="Text/javascript">
function Showdate () {

var ddate = new Date ();
Ddate.setfullyear (2016,10,24);
var mindate = new Date ();
Mindate.setfullyear (1950,2,3);
var maxdate = new Date ();
Maxdate.setfullyear (2040, 12, 1);

Plus.nativeUI.pickDate (
Function (e) {
var d = e.date;
Mui.toast (' Xu Wenrong selected date is: ' + d.getfullyear () + '-' + (D.getmonth () + 1) + '-' + d.getdate ());
},

Function (e) {
Mui.toast (' Xu Wenrong not selected date ');
}, {
Title: ' Xu Wenrong Select Date ', < span class= "LF" >
Date:ddate,
Mindate:mindate,
Maxdate:maxdate
}
)
}< span class= "LF" >
</script>

This time-date control can only be seen on the phone. Connect the phone on the Hbuilder. Then you can see it on your phone. You can click on the mobile phone, not the phone side cannot click, also can't see. This hbuilder calls the native H5 in the MUI framework and cannot be displayed on the browser

MUI time date control (cannot be viewed on the browser, can be clicked on the phone side)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.