set totxt ajax to post