<div id="from"/> is not valid, I think.
You should try:
'<div><div id="from"></div><div id="to"></div></div>'
instead.

On Apr 1, 11:59 pm, Javier Martinez <ecentin...@gmail.com> wrote:
> 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

Reply via email to