The fact is that there is an ambiguity between the selector and the html. It is as understandable to consider that an empty string signifies an empty selector, so we return the current object, which is document, as to consider that an empty html string.
I don't think it can be seen as a bug and moreover, the behaviour as empty selector is more understandable. You still have the append ( string ) syntax. Regards, Ludovic --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---