Просмотр поста

.
Folour
Think different
[php]
var yourVar = 'value';

$.get('/path/to/script.php', {yourVar: yourVar}, function(data) {
if(data) {
    alert('Переменная передана');
  }
  else {
    alert('При отправке запроса произошла ошибка');
  }
});

****