how to make jq-ui datepicker working beside jquery validation engine?
at first, my datepicker was working before I put the validator. now the validator is working but the datepicker is not.
//datepciker
$(function() {
$( "#datepicker" ).datepicker({ changeYear:true,changeMonth:true });
});
//jqueryValidation
$(document).ready(function(){
$("#form").validationEngine();
});
<fieldset>
<form id="form" method="post" action="post.php">
<table>
<tr>
<td>NIP*</td>
<td><input class="validate[required,custom[onlyNumberSp]"
id="nip" maxlength="18" name="nip" size="20" type="text"></td>
</tr>
<tr>
<td>TMT*</td>
<td><input id="datepicker" name="tmt" type="text"></td>
</tr>
</table>
</form>
</fieldset>