JQuery DatePicker conflicts with Validate
When I put the datepicker in my form the validation stops working.
As soon as I had the following code, the validation stops working. I think its a conflict between them. What can I do to solve this?
Date picker code:
$('#data_nascimento').datepicker({dateFormat: 'yy-mm-dd'});
and the script lines:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="htt<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>p://jqueryui.com/ui/i18n/jquery.ui.datepicker-pt.js"></script>