On 21 October 2010 15:01, Ben P <[email protected]> wrote: > Binding an element to 'change' in my example causes this bug. Binding > it to 'click' instead does not. I don't believe it's a broad problem > with live(), and even if it were, I wouldn't expect it to throw an > error (especially not 'Failed').
But that's just a product of IE's c**p (oops, sorry, "poor") error handling and it's "poor" DOM handling. Your example behaves the same way in IE6. "Failed" is the message generated by attempting to manipulate the DOM invalidly (like before it's completely defined). It wouldn't surprise me if the way IE handles a "change" is to remove the element from the DOM and replace it with the new version; and the way the resultant event is handled doesn't fit into that strategy. Or something. That means that while what IE does may be unorthodox, the current behaviour hasn't changed since IE6 and so should not be unexpected; and it means that jQuery should code for it and not cause a "Failed" error. So I reckon it *is* an issue with .live() and that's where it should be reported. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
