vali
This commit is contained in:
parent
c3a034cd18
commit
667d3199c9
|
|
@ -106,3 +106,34 @@ function changer_langue_connexion()
|
|||
|
||||
}
|
||||
|
||||
function connexion_cookie()
|
||||
{
|
||||
msgErreur=$("#msgErreur").val();
|
||||
|
||||
donnees = 'msgErreur='+msgErreur;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxconnexioncookie/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data)
|
||||
{
|
||||
$("#div_ajaxconnexion").html(data);
|
||||
},
|
||||
error: function(errorData)
|
||||
{
|
||||
},
|
||||
complete: function()
|
||||
{
|
||||
var login = document.getElementById("login").value;
|
||||
if (login>" ")
|
||||
{
|
||||
$("#mdp").focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#login").focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user