hi crew, as ususally I have strange problem..take a look to code: $(function(){ $('.tablesorter').tablesorter({widgets: ['zebra']}); $('#subMenu a').click(function(){ var trida = $(this).attr('href'); console.log(trida); $('#content>*').remove(); $.ajax({ url: 'pilots.php', cache: false, type: 'POST', dataType: 'html', data: 'trida='+trida, success: function(html){ $('#content').append(html)} }); return false; }); });
this code works great, but not in IE. Problem is causing by value "data". If I set: data: 'trida=15', than everything goes OK, but if I set valeu from variable, IE return only a little part of requesting page. So what is wrong in my AJAX code?