0
My form is only sending by Chrome, I would like to understand the pq.
It uses the normal post method, only that I have this JS that depending on the value that is there, it sends the user to the page that contains in the select value of a Dropbox.
So that he does not recognize this JS , pq when shooting works, and strange that it only happens in other browsers, in Chrome works (I get the email).
JS
$(function() {
$('#btnget').click(function(e) {
let formValido = document
.getElementById("formulario")
.checkValidity();
if(formValido){
$("#formulario")
.attr("action", $('#form').val())
.submit();
}
})
});
the button "btnget" is of the type Submit?
– Ricardo Pontual
@Ricardopunctual yes
– Chead
is making a Ubmit from another, it does not seem a good idea, the button could a simple button since it has this logic to make the Ubmit after
– Ricardo Pontual
You know the IE and Firefox version you’re using?
– Pbras