I wasn't able to duplicate the issue either--if I run into this same problem again, I will file a ticket. If not, I will assume that there was something else in my codes that were throwing this error. Again, time will tell :P
--Vuong On Feb 7, 11:15 am, John Resig <jere...@gmail.com> wrote: > I tried to duplicate this problem but was unable to. If you have any > more information it would be most helpful. > > --John > > On Thu, Feb 5, 2009 at 6:09 PM,atula<autal...@gmail.com> wrote: > > > Here's a block of codes I got issue with while upgrading from 1.2.6 > > to 1.3 > > > //this works in both 1.2.6 & 1.3// > > if (state==='on') { > > if (!$('#sr_ajax_loader').length) { > > var $sR = $('#search-result-container'); > > $('<div id="sr_ajax_loader" />') > > .css({ > > width: $sR.width() + 'px', > > height: $sR.height() + 'px', > > top: $sR.offset().top + 'px', > > left: $sR.offset().left + 'px', > > opacity: '0.7' > > }).appendTo('#content').fadeIn(); //brings up ajax > > loading > > graphic > > } > > } else { > > $('#sr_ajax_loader').fadeOut(function () { $(this).remove(); > > }); > > } > > > //this throws error in 1.3 but worked in 1.2.6: uncaught exception: > > Syntax error, unrecognized expression: #// > > > if (state==='on') { > > if (!$('#get-search-results-ajax-load').length) { > > var $sR = $('#search-result-container'); > > $('<div id="get-search-results-ajax-load" />') > > .css({ > > width: $sR.width() + 'px', > > height: $sR.height() + 'px', > > top: $sR.offset().top + 'px', > > left: $sR.offset().left + 'px', > > opacity: '0.7' > > }).appendTo('#content').fadeIn(); //brings up ajax > > loading > > graphic > > } > > } else { > > $('#get-search-results-ajax-load').fadeOut(function () { $ > > (this).remove(); }); > > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---