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

.
Folour
Think different

С jQuery так можно
[php]
var yourVar = 'value';

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