Is it safe to pass plain text password to jQuery.get()?
Title.
- $("form").submit
(
function(event)
{
$.get
(
"/php/scripts/authenticate-user.php",
{
email: $("#email").val(),
password: $("#password").val()
},
function(response)
{
$("#result").html(response).show();
}
);
$("#password").val("");
event.preventDefault();
}
)