Chrome has errors selecting more than one element where these elements are not inserted yet.
Test case (execute this snippet in some page): alert($('<div><div id="from"/><div id="to"/></div>').find('#from, #to').length); The version I'm using is 1.3.2