Huh, that's bizarre. Could you file a quick bug on this? http://dev.jquery.com/newticket
Thanks for all the hunting on this, I'll see if we can land something for 1.3.3. --John On Tue, Mar 10, 2009 at 8:00 PM, Stephen McKamey <[email protected]> wrote: > > I've spent way too long on this, but I was convinced that it was a bug > and I wanted to know if it was in my code, jQuery, or Google Chrome. > I've managed to factor out all of "my code" and all that is left is > this tiny little snippet which dies only on Google Chrome. Do I have > some syntactical issue here or is this a legit bug? > > // jQuery 1.3.2 > // Google Chrome v1.0.154.48 > $(function() { > try { > var bugForm = $("<form><input /><input /></form>")[0]; > var bugExpr = $("textarea,input", bugForm); > > alert("Success! found "+bugExpr.length+" items"); > } catch(ex) { > alert(ex); > } > }); > > It appears to die just as it enters the Array.sort method with a > cryptic DOM exception. Changing the selector from "textarea,input" to > ["textarea","input"] appears to fix it. > > Thanks, > smm > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" 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/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
