How to put a datepicker in an Android application whose page is being developed in PHP

-3

I want to put a datepicker on a page that will be implemented in an Android application and I'm developing the page in PHP. I have already grabbed several libraries on the Internet from Bootstrap and jQuery but only from jQuery Mobile worked. But it conflicts with the graph of the chart.js library I have on the page.

Does anyone know a way to put a datepicker in this application? Below I have the input:

<td colspan="2" style="background-color: red; color: white; font-weight: bold; font-size: 20px;" width="20%" align="center">
    Data Fim: <input ng-model="date" type="text" name="fim" id="fim" value="" class="datepicker"/>
</td>

The libraries of chart.js below:

<link href="css/demo.css" rel="stylesheet" type="text/css">
<script src="src/legend.js"></script>
<script src="Scripts/Chart.min.js"></script>

I have tried the angular.js library but it did not work either.

    
asked by anonymous 09.09.2016 / 13:13

1 answer

0

You can try this:

<head>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script><scriptsrc="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script>
    $( function() {
        $( "#datepicker" ).datepicker();
    });
</script>
</head>
<body>
    <p>Data Fim: <input type="text" id="datepicker"></p>
</body>

Source: link

    
11.09.2016 / 01:09