ajax POST
Есть js:
//alert(jQuery('.FIO').text());
jQuery.ajax({
type: 'POST', // Use the POST method.
url: 'fill_rtf.php',
data: 'FIO=1215'+jQuery('.FIO').text() // Pass a key/value pair.
});
});
алерт срабатывает. Но в fill_rtf.php ничего не передается.
консоль в firebug пишет :
Заголовки ответа
Date Wed, 10 Aug 2011 09:18:14 GMT
Server Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8k PHP/5.3.3
X-Powered-By PHP/5.3.3
Content-Disposition inline; filename=docs.rtf
Параметры application/x-www-form-urlencoded
FIO 1215Петров Василий Иванович
Исходный код
FIO=1215Петров Василий Иванович
Ответ :
....\ltrch\fcs0 \fs24\insrsid2194361\charrsid2194361 1215Петров Василий Иванович}{\rtlch\fcs1 \af0 \ltrch...
Помогите разобраться?