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