I would like to convert the date from the bank (2012-02-10) to Brazilian standard (10/02/2012) in the AJAX success example:
$.ajax({
type: 'POST',
dataType: 'json',
url: "crud/consulta.php",
data: dados,
success: function(data) {
$('.dataFiltro').val(data.data);
// AQUI ALGUMA CONVERSÃO
});
Or some way to do the conversion in the input of the form, being that, this value will be filled in an input. Any suggestions w