I was testing there something, now it works, but I have problem if I
load this workuing page as content to any DIV to other page, it cause
error after click to links from loaded page. You can check:
http://83.240.47.84/skyrace22/pilots.php  //working page
http://83.240.47.84/skyrace22/test.php  //lodin pilots.php to DIV

On 24 Led, 14:59, jay <jay.ab...@gmail.com> wrote:
> When I click any of the links I get jQuery undefined script error line
> 119 in IE
>
> On Jan 24, 8:20 am, Charlie22 <ch...@post.cz> wrote:
>
>
>
> > 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 -- Hide quoted text -
>
> > - Show quoted text -- Skrýt citovaný text -
>
> - Zobrazit citovaný text -

Reply via email to