1
var envio = $.post("processamento/busca.php", {
unidade: $("#unidade").val()
})
I have this request, I would like to change the datatype to json, in ajax you have a datatype parameter, but I don’t know how to use it in $.post, if you can use it... I know it’s possible to do with $.ajax, but I have so many codes in $.post that it would be too much trouble to change everything.
Thank you