$(function(){
$("#vhod").click(function() {
var login=$("#login").val();
var password = $("#password").val();
if (login == '' || password== '') {
alert("Введите логин/пароль");
}else{
$.post('./index-1.php',
{login:login,password:password},
function(data){
if(data=="yes"){alert('ura')};
});};
});});