1

this way works:

$.post("http://10.60.1.157/tirulipa/cadastro", $("#frmCadastro").serialize(),function(data){
  if(data=="ok"){
   location.href="success.html"
  }else{
    alert("try again");
  }
});

but, this way no works ( just using https )

$.post("https://10.60.1.157/tirulipa/cadastro", $("#frmCadastro").serialize(),function(data){
  if(data=="ok"){
   location.href="success.html"
  }else{
    alert("try again");
  }
});

Can anybody help me?

4

0 回答 0