Hello, I would like to know, how i can upload a image from a <input type="file">. But the upload is not in a form.
I take this value from:
$(".salvar_campanha").on("click", function(){
var conteudoImagemNome = document.getElementById('conteudoImagemNome').value;
$.ajax({
type: "POST",
url: 'nova-campanha/salvar-campanha/'+idCampanha+'/'+nome+'/'+remetenteEndereco+'/'+conteudoHtml+'/'+conteudoImagemNome,
success: function(data) {
$("#idCampanha").val(data.idCampanha);
}
});
});
This is possible?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community