[jQuery] Re: Is there a .new() ?

2008-01-26 Thread Eli_Cochran
Hi folks, I was mulling over both those two DOM instantiation patterns just this week. Has anyone actually run that test? I'm curious what the numbers were. There is this delightful feel of control and power in $("").attr({id:"myid", name:"myname"}).val("foo").appendTo(this); but $(this

[jQuery] Re: How to keep text from being highlighted when I'm handling the mouse events

2008-02-21 Thread Eli_Cochran
We recently dealt with the same problem with IE on the Fluid project. We fixed it by trapping both the ondrag and onselectstart events. Note: these events only need to be trapped in IE and they are not jQuery events so you need to cast the object to a browser DOM object before trapping. Here is o