I am using pickadate to choose a date. I am trying to change the selected date by clicking the previous day or next day buttons.
<form method="post">
<a href="#">previus day</a>
<input type="text" id="test" data-value="01/11/2017">
<a href="#">next day</a>
<button type="submit">Submit</button>
</form>
<script>
$('#test').pickadate({format: 'dd/mm/yyyy'});
</script>
Here is the jsfiddle link: https://jsfiddle.net/kdoo53vg/41/
I am newbie at programming. I would appreciate if you can show me the way to do it. Thanks heaps.