0
I want to serialize my form, and send another variable. It is possible?
Example:
var id = "1";
function register(){
  $.ajax({
    method: "post",
    url: "meu_script.php",
    data: $("#form").serialize(), //Aqui eu queria passar a variável *id*
  });
}
One option could be to put an input type Hidden, but I want to pass this variable via AJAX itself.
– Rayan Marcus