Bug Tracker

Custom Query (13852 matches)


Show under each result:

Results (10 - 12 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#11496 notabug .offset() called on a hidden element is positioned relative to it's old position instead of document. [email protected] [email protected]

var $thumbThingy = $('<div id="basket-thumbview"></div>').appendTo( $('body') );

$thumbThingy.css('display', 'none' );

setInterval( function() {

$thumbThingy.offset( { left: 10, top: 10 } ); console.log( $thumbThingy.css('left'), $thumbThingy.css('top') );

}, 1000 );

Results in:

10px -362px 15820px -724px 15830px -1086px 15840px -1448px 15850px -1810px 15860px -2172px 15870px -2534px 15880px -2896px 15890px -3258px 158100px -3620px 158110px -3982px

#11532 notabug Document jQuery.Tween gnarf SineSwiper

Within the animate() documentation, the Step Function docs mention the "jQuery.fx prototype", but there is no separate reference to the specifications of the prototype. It mentions a few properties, but there should be a separate page for the prototype. The jQuery.fx prototype is also mentioned in cssHooks.

Properties and methods for jQuery.fx include:

update cur custom show hide step elem start end now pos unit tick prop options startTime speeds etc.

#11555 notabug jQuery.ajaxTransport.send.callback doesn't get called for readyState = 2 with Chrome [email protected] [email protected]

In my application I make a call to the server using a jQuery.post().

My application sometimes returns a HttpResponse with status 406 in case the data provided in the request isn't acceptable. The response also contains additional HttpResponse headers, which contain an application specific errorCode and message. In my application I want to use the global ajaxError for reading the headers and inform the user about what went wrong.

In IE and Firefox this works fine, but in Chrome and Safari it fails. After doing some debuging I notice the main difference are the values of the jqXHR. In IE and FF the status will be 406 but reading the value in Chrome will return 0 and the responseHeaderString remains empty.

I notice that these values are being read from the standard xhr in the callback of ajaxTransport.send. (Starting from line 8105)

By putting a breakpoint within that callback I noticed that in Firefox the execution will hit the breakpoint twice: Once with readyState = 2 and once with readyState = 4. For some caching purpose jQuery will only read the headers when the readyState = 2.

In Chrome the breakpoint will only be hit once and the readyState = 4 at that moment, which results in the information of the headers not being present for my application, due to the caching of headers.

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.