sry it didnt work, because console.log there..
On 24 Led, 14:12, Charlie22 <ch...@post.cz> wrote: > thx for tip, but no success. Try to check this > page..http://83.240.47.84/skyrace22/pilots.php > works everywhere, only IE failed.. > > On 24 Led, 13:38, Mike Alsup <mal...@gmail.com> wrote: > > > > > > $(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? > > > Try using an object for your data arg so that jQuery properly encodes > > the values. So instead of: > > > data: 'trida='+trida, > > > try this: > > > data: { trida: trida },- Skrýt citovaný text - > > > - Zobrazit citovaný text -- Skrýt citovaný text - > > - Zobrazit citovaný text -